org.deegree.protocol.wps.client.process.execute
Class ExecutionStatus

java.lang.Object
  extended by org.deegree.protocol.wps.client.process.execute.ExecutionStatus

public class ExecutionStatus
extends Object

TODO add class documentation here

Version:
$Revision: 31699 $, $Date: 2011-08-31 13:29:54 +0200 (Wed, 31 Aug 2011) $
Author:
Andrei Ionita, Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
ExecutionStatus(WPSConstants.ExecutionState state, String statusMsg, Integer percent, String creationTime, OWSExceptionReport exceptionReport)
           
 
Method Summary
 String getCreationTime()
           
 OWSExceptionReport getExceptionReport()
          Returns the exception report.
 Integer getPercentCompleted()
          Returns the percentage of the process that has been completed.
 WPSConstants.ExecutionState getState()
          Returns the current state of the execution.
 String getStatusMessage()
          Returns the status message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionStatus

public ExecutionStatus(WPSConstants.ExecutionState state,
                       String statusMsg,
                       Integer percent,
                       String creationTime,
                       OWSExceptionReport exceptionReport)
Parameters:
state -
statusMsg -
percent -
creationTime -
exceptionReport -
Method Detail

getState

public WPSConstants.ExecutionState getState()
Returns the current state of the execution.

Returns:
state of the execution, never null

getStatusMessage

public String getStatusMessage()
Returns the status message.

Returns:
status message, may be null (no status message available)

getPercentCompleted

public Integer getPercentCompleted()
Returns the percentage of the process that has been completed.

Returns:
the completed percentage of the process, may be null (no completion percentage available)

getCreationTime

public String getCreationTime()
Returns:
creation time of the process execution, can be null

getExceptionReport

public OWSExceptionReport getExceptionReport()
Returns the exception report.

NOTE: An exception report is only available if state is WPSConstants.ExecutionState.FAILED.

Returns:
an exception report in case the execution failed, null otherwise


Copyright © 2011. All Rights Reserved.