The following table describes the WLSTProgress object methods that you can use to check the status of the current deployment action.

Table C-2 WLSTProgress Object Methods

Use this method...

To...

String getCommandType()

Return the deployment CommandType of this event.This command returns one of the following values: distribute, redeploy, start, stop, or undeploy.

String getMessage()

Return information about the status of this event.

ProgressObject getProgressObject()

Return the ProgressObject that is associated with the current deployment action.

String getState()

Retrieve the state of the current deployment action. CommandType of this event.This command returns one of the following values: running, completed, failed, or released (indicating that the object has been released into production).

boolean isCompleted()

Determine if the current deployment action has been completed.

boolean isFailed()

Determine if the current deployment action has failed.

boolean isRunning()

Determine if the current deployment action is running.

void printStatus()

Print the current status of the deployment action, including the command type, the state, additional messages, and so on.