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

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

public class ExecutionResponse
extends Object

Encapsulates the results from a process execution.

Version:
$Revision: 26137 $, $Date: 2010-08-25 18:05:25 +0200 (Wed, 25 Aug 2010) $
Author:
Andrei Ionita, Markus Schneider, last edited by: $Author: aionita $

Constructor Summary
ExecutionResponse(URL statusLocation, ExecutionStatus status, ExecutionOutput[] outputs)
           
 
Method Summary
 ExecutionOutputs getOutputs()
          Returns the output parameters from the process execution.
 ExecutionStatus getStatus()
          Returns the current status of the process execution.
 URL getStatusLocation()
          Returns the status location for fetching updated response documents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionResponse

public ExecutionResponse(URL statusLocation,
                         ExecutionStatus status,
                         ExecutionOutput[] outputs)
Parameters:
statusLocation - may be null
status - may be null
outputs - never null
Method Detail

getStatusLocation

public URL getStatusLocation()
Returns the status location for fetching updated response documents.

Returns:
the status location, may be null (in synchronous mode)

getStatus

public ExecutionStatus getStatus()
Returns the current status of the process execution.

Returns:
the current status of the process execution, never null

getOutputs

public ExecutionOutputs getOutputs()
Returns the output parameters from the process execution.

NOTE: This method may only be called when the process is in state WPSConstants.ExecutionState.SUCCEEDED.

Returns:
the output parameters, never null


Copyright © 2011. All Rights Reserved.