|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wps.ProcessExecution
public class ProcessExecution
Encapsulates the status of a WPSProcess
execution.
Constructor Summary | |
---|---|
ProcessExecution(ExecuteRequest request,
StorageLocation responseStorage,
java.net.URL serviceInstance,
java.util.List<RequestedOutput> outputParams,
ProcessletOutputs outputs)
Creates a new ProcessExecution for a Processlet that has been accepted for execution. |
Method Summary | |
---|---|
ExecuteResponse |
createExecuteResponse()
Creates an ExecuteResponse that reflects the current execution state. |
java.lang.String |
getAcceptedMessage()
Returns optional additional human-readable text associated with the acceptance of the process execution. |
org.deegree.protocol.wps.WPSConstants.ExecutionState |
getExecutionState()
Returns the current processing state. |
OWSException |
getFailedException()
Returns the exception that describes the reason for the failure of the process execution. |
long |
getFinishTime()
Returns the time that the process execution has been finished. |
java.lang.String |
getPauseMessage()
Returns optional additional human-readable text associated with the pausing of the process execution. |
int |
getPercentCompleted()
Returns the percentage of process that has been completed, where 0 means the process has just started, and 99 means the process is almost complete. |
org.deegree.commons.tom.ows.CodeType |
getProcessId()
Returns the "Identifier" for this process. |
java.lang.String |
getStartMessage()
Returns optional additional human-readable text associated with the starting of the process execution. |
long |
getStartTime()
Returns the time when the process execution has been started. |
java.lang.String |
getSucceededMessage()
Returns optional additional human-readable text associated with the successful finishing of the process execution. |
void |
setPercentCompleted(int percentCompleted)
Allows the Processlet to indicate the percentage of the process that has been completed, where 0 means
the process has just started, and 99 means the process is almost complete. |
void |
setStartedMessage(java.lang.String msg)
Allows the Processlet to provide a start message for the client. |
void |
setSucceededMessage(java.lang.String msg)
Allows the Processlet to provide a finish message for the client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessExecution(ExecuteRequest request, StorageLocation responseStorage, java.net.URL serviceInstance, java.util.List<RequestedOutput> outputParams, ProcessletOutputs outputs)
ProcessExecution
for a Processlet
that has been accepted for execution.
Processing state is WPSConstants.ExecutionState.ACCEPTED
.
request
- responseStorage
- serviceInstance
- outputParams
- outputs
- Method Detail |
---|
public org.deegree.protocol.wps.WPSConstants.ExecutionState getExecutionState()
public int getPercentCompleted()
public java.lang.String getAcceptedMessage()
public java.lang.String getStartMessage()
public long getStartTime()
public long getFinishTime()
public org.deegree.commons.tom.ows.CodeType getProcessId()
public java.lang.String getPauseMessage()
public java.lang.String getSucceededMessage()
public OWSException getFailedException()
public ExecuteResponse createExecuteResponse()
ExecuteResponse
that reflects the current execution state.
ExecuteResponse
that reflects the current execution statepublic void setStartedMessage(java.lang.String msg)
ProcessletExecutionInfo
Processlet
to provide a start message for the client.
setStartedMessage
in interface ProcessletExecutionInfo
public void setSucceededMessage(java.lang.String msg)
ProcessletExecutionInfo
Processlet
to provide a finish message for the client.
setSucceededMessage
in interface ProcessletExecutionInfo
public void setPercentCompleted(int percentCompleted)
ProcessletExecutionInfo
Processlet
to indicate the percentage of the process that has been completed, where 0 means
the process has just started, and 99 means the process is almost complete. This value is expected to be accurate
to within ten percent.
setPercentCompleted
in interface ProcessletExecutionInfo
percentCompleted
- the percentage value to be set, a number between 0 and 99
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |