org.apache.geronimo.messaging.admin.deployment
Class DeploymentStatusImpl

java.lang.Object
  extended byorg.apache.geronimo.messaging.admin.deployment.DeploymentStatusImpl
All Implemented Interfaces:
javax.enterprise.deploy.spi.status.DeploymentStatus, Serializable

public class DeploymentStatusImpl
extends Object
implements javax.enterprise.deploy.spi.status.DeploymentStatus, Serializable

A Serializable DeploymentStatus implementation.

Version:
$Revision: 1.1 $ $Date: 2004/06/01 12:44:22 $
See Also:
Serialized Form

Constructor Summary
DeploymentStatusImpl(javax.enterprise.deploy.shared.CommandType aCommand, javax.enterprise.deploy.shared.ActionType anAction, javax.enterprise.deploy.shared.StateType aState, String aMessage)
           
 
Method Summary
 javax.enterprise.deploy.shared.ActionType getAction()
           
 javax.enterprise.deploy.shared.CommandType getCommand()
           
 String getMessage()
           
 javax.enterprise.deploy.shared.StateType getState()
           
 boolean isCompleted()
           
 boolean isFailed()
           
 boolean isRunning()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentStatusImpl

public DeploymentStatusImpl(javax.enterprise.deploy.shared.CommandType aCommand,
                            javax.enterprise.deploy.shared.ActionType anAction,
                            javax.enterprise.deploy.shared.StateType aState,
                            String aMessage)
Method Detail

getState

public javax.enterprise.deploy.shared.StateType getState()
Specified by:
getState in interface javax.enterprise.deploy.spi.status.DeploymentStatus

getCommand

public javax.enterprise.deploy.shared.CommandType getCommand()
Specified by:
getCommand in interface javax.enterprise.deploy.spi.status.DeploymentStatus

getAction

public javax.enterprise.deploy.shared.ActionType getAction()
Specified by:
getAction in interface javax.enterprise.deploy.spi.status.DeploymentStatus

getMessage

public String getMessage()
Specified by:
getMessage in interface javax.enterprise.deploy.spi.status.DeploymentStatus

isCompleted

public boolean isCompleted()
Specified by:
isCompleted in interface javax.enterprise.deploy.spi.status.DeploymentStatus

isFailed

public boolean isFailed()
Specified by:
isFailed in interface javax.enterprise.deploy.spi.status.DeploymentStatus

isRunning

public boolean isRunning()
Specified by:
isRunning in interface javax.enterprise.deploy.spi.status.DeploymentStatus


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.