com.caucho.j2ee.deployclient
Class DeploymentStatusImpl

java.lang.Object
  extended by com.caucho.j2ee.deployclient.DeploymentStatusImpl
All Implemented Interfaces:
java.io.Serializable

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

Represents the status of a deployed module.

See Also:
Serialized Form

Field Summary
static int COMPLETED
           
static int FAILED
           
static int RELEASED
           
static int RUNNING
           
 
Constructor Summary
DeploymentStatusImpl()
           
 
Method Summary
 ActionType getAction()
          Returns the ActionType value.
 CommandType getCommand()
          Returns the CommandType value.
 java.lang.String getMessage()
          Returns additional information.
 StateType getState()
          Returns the StateType value.
 boolean isCompleted()
          Returns true if the deployment is completed.
 boolean isFailed()
          Returns true if the deployment is failed.
 boolean isRunning()
          Returns true if the deployment is running.
 void setMessage(java.lang.String message)
          Sets the message.
 void setState(StateType stateType)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RUNNING

public static final int RUNNING
See Also:
Constant Field Values

COMPLETED

public static final int COMPLETED
See Also:
Constant Field Values

FAILED

public static final int FAILED
See Also:
Constant Field Values

RELEASED

public static final int RELEASED
See Also:
Constant Field Values
Constructor Detail

DeploymentStatusImpl

public DeploymentStatusImpl()
Method Detail

getState

public StateType getState()
Returns the StateType value.


setState

public void setState(StateType stateType)

getCommand

public CommandType getCommand()
Returns the CommandType value.


getAction

public ActionType getAction()
Returns the ActionType value.


getMessage

public java.lang.String getMessage()
Returns additional information.


setMessage

public void setMessage(java.lang.String message)
Sets the message.


isCompleted

public boolean isCompleted()
Returns true if the deployment is completed.


isFailed

public boolean isFailed()
Returns true if the deployment is failed.


isRunning

public boolean isRunning()
Returns true if the deployment is running.


toString

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