Class DeploymentStateEvent

java.lang.Object
com.espertech.esper.runtime.client.DeploymentStateEvent
Direct Known Subclasses:
DeploymentStateEventDeployed, DeploymentStateEventUndeployed

public abstract class DeploymentStateEvent extends Object
Deployment base event.
  • Constructor Details

    • DeploymentStateEvent

      public DeploymentStateEvent(String runtimeURI, String deploymentId, String moduleName, EPStatement[] statements, int rolloutItemNumber)
      Ctor
      Parameters:
      runtimeURI - runtime URI
      deploymentId - deployment id
      moduleName - module name
      statements - statements
      rolloutItemNumber - rollout item number when using rollout
  • Method Details

    • getRuntimeURI

      public String getRuntimeURI()
      Returns the runtime uri
      Returns:
      runtime uri
    • getDeploymentId

      public String getDeploymentId()
      Returns the deployment id
      Returns:
      deployment id
    • getModuleName

      public String getModuleName()
      Returns the module name, when provided, or null if none provided
      Returns:
      module name
    • getStatements

      public EPStatement[] getStatements()
      Returns the statements for the deployment or undeployment
      Returns:
      statements
    • getRolloutItemNumber

      public int getRolloutItemNumber()
      Returns the rollout item number, or -1 when not using rollout
      Returns:
      number, starting at zero