org.deegree.services.wps.execute
Class ExecuteResponse

java.lang.Object
  extended by org.deegree.services.wps.execute.ExecuteResponse

public class ExecuteResponse
extends java.lang.Object

The response from a process execution.

Author:
Alexander Padberg, Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
ExecuteResponse(StorageLocation statusLocation, java.net.URL serviceInstance, ProcessExecution status, java.util.List<RequestedOutput> outputDefinitions, ProcessletOutputs outputs, ExecuteRequest request)
          Creates a new ExecuteResponse instance from the given parameters.
 
Method Summary
 ProcessletInputs getDataInputs()
           
 ProcessExecution getExecutionStatus()
           
 java.lang.String getLanguage()
           
 boolean getLineage()
          Returns whether the inputs and requested outputs should be included in the response document.
 java.util.List<RequestedOutput> getOutputDefinitions()
           
 ProcessDefinition getProcessDefinition()
           
 ProcessletOutputs getProcessOutputs()
           
 ExecuteRequest getRequest()
           
 java.net.URL getServiceInstance()
           
 StorageLocation getStatusLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteResponse

public ExecuteResponse(StorageLocation statusLocation,
                       java.net.URL serviceInstance,
                       ProcessExecution status,
                       java.util.List<RequestedOutput> outputDefinitions,
                       ProcessletOutputs outputs,
                       ExecuteRequest request)
Creates a new ExecuteResponse instance from the given parameters.

Parameters:
statusLocation - location where updated ExecuteResponse documents can be polled from or null if the response document should not be stored as a web-accessible resource
serviceInstance - GetCapabilities URL of the service that produced the request
status - execution status of the process
outputDefinitions -
outputs - outputs produced by the process
request -
Method Detail

getLineage

public boolean getLineage()
Returns whether the inputs and requested outputs should be included in the response document.

Returns:
true, if they shall be included, false otherwise

getDataInputs

public ProcessletInputs getDataInputs()
Returns:
the dataInputs

getExecutionStatus

public ProcessExecution getExecutionStatus()
Returns:
the executionStatus

getLanguage

public java.lang.String getLanguage()
Returns:
the language

getOutputDefinitions

public java.util.List<RequestedOutput> getOutputDefinitions()
Returns:
the outputDefinitions

getProcessDefinition

public ProcessDefinition getProcessDefinition()
Returns:
the processDescription

getProcessOutputs

public ProcessletOutputs getProcessOutputs()
Returns:
the processOutputs

getServiceInstance

public java.net.URL getServiceInstance()
Returns:
the serviceInstance

getStatusLocation

public StorageLocation getStatusLocation()
Returns:
the statusLocation

getRequest

public ExecuteRequest getRequest()
Returns:
the request that lead to this response.


Copyright © 2011. All Rights Reserved.