com.espertech.esper.client.deploy
Class DeploymentInformation

java.lang.Object
  extended by com.espertech.esper.client.deploy.DeploymentInformation
All Implemented Interfaces:
java.io.Serializable

public class DeploymentInformation
extends java.lang.Object
implements java.io.Serializable

Available information about deployment made.

See Also:
Serialized Form

Constructor Summary
DeploymentInformation(java.lang.String deploymentId, Module module, java.util.Calendar addedDate, java.util.Calendar lastUpdateDate, DeploymentInformationItem[] items, DeploymentState state)
          Ctor.
 
Method Summary
 java.util.Calendar getAddedDate()
          Returns date the deployment was added.
 java.lang.String getDeploymentId()
          Returns the deployment id.
 DeploymentInformationItem[] getItems()
          Returns deployment statement-level details: Note that for an newly-added undeployed modules not all statement-level information is available and therefore returns an empty array.
 java.util.Calendar getLastUpdateDate()
          Returns the last update date, i.e.
 Module getModule()
          Returns the module.
 DeploymentState getState()
          Returns current deployment state.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentInformation

public DeploymentInformation(java.lang.String deploymentId,
                             Module module,
                             java.util.Calendar addedDate,
                             java.util.Calendar lastUpdateDate,
                             DeploymentInformationItem[] items,
                             DeploymentState state)
Ctor.

Parameters:
deploymentId - deployment id
addedDate - date the deployment was added
lastUpdateDate - date of last update to state
items - module statement-level details
state - current state
module - the module
Method Detail

getDeploymentId

public java.lang.String getDeploymentId()
Returns the deployment id.

Returns:
deployment id

getLastUpdateDate

public java.util.Calendar getLastUpdateDate()
Returns the last update date, i.e. date the information was last updated with new state.

Returns:
last update date

getItems

public DeploymentInformationItem[] getItems()
Returns deployment statement-level details: Note that for an newly-added undeployed modules not all statement-level information is available and therefore returns an empty array.

Returns:
statement details or empty array for newly added deployments

getState

public DeploymentState getState()
Returns current deployment state.

Returns:
state

getAddedDate

public java.util.Calendar getAddedDate()
Returns date the deployment was added.

Returns:
added-date

getModule

public Module getModule()
Returns the module.

Returns:
module

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com