org.jboss.deployers.spi.management.deploy
Interface DeploymentStatus


public interface DeploymentStatus

A deployment status interface used to provide information about a DeploymentProgress event associated with a DeploymentManager command.

Version:
$Revision: 84501 $
Author:
Scott.Stark@jboss.org

Nested Class Summary
static class DeploymentStatus.CommandType
           
static class DeploymentStatus.StateType
           
 
Method Summary
 DeploymentStatus.CommandType getCommand()
          The deployment command
 Exception getFailure()
          Get the failure exception.
 String getMessage()
          Get the current status message
 DeploymentStatus.StateType getState()
          Get the state of the deployment
 DeploymentTarget getTarget()
          The target the status applies to
 boolean isCompleted()
          Is the deployment complete
 boolean isFailed()
          Has the deployment failed
 boolean isRunning()
          Is the deployment in progress
 

Method Detail

getState

DeploymentStatus.StateType getState()
Get the state of the deployment

Returns:
the state

getCommand

DeploymentStatus.CommandType getCommand()
The deployment command

Returns:
the command

getTarget

DeploymentTarget getTarget()
The target the status applies to

Returns:

getMessage

String getMessage()
Get the current status message

Returns:
the message

getFailure

Exception getFailure()
Get the failure exception.

Returns:
any failure exception associated with reaching the FAILED state.

isCompleted

boolean isCompleted()
Is the deployment complete

Returns:
true when complete, false otherwise

isFailed

boolean isFailed()
Has the deployment failed

Returns:
true when failed, false otherwise

isRunning

boolean isRunning()
Is the deployment in progress

Returns:
true when in progress, false otherwise


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.