|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.protocol.wps.client.process.Process
public class Process
Encapsulates the properties of a process offered by a WPS instance (id, title, abstract, input parameter types,
output parameter types, etc.) and provides access to a ProcessExecution
context for executing it.
WPSClient
,
ProcessExecution
Constructor Summary | |
---|---|
Process(WPSClient client,
ProcessInfo processInfo)
Creates a new Process instance. |
Method Summary | |
---|---|
LanguageString |
getAbstract()
Returns the abstract of the process. |
CodeType |
getId()
Returns the identifier of the process. |
InputType[] |
getInputTypes()
Returns the descriptions for all input parameters of the process. |
OutputType[] |
getOutputTypes()
Returns the descriptions for all output parameters of the process. |
boolean |
getStatusSupported()
Returns whether the process supports polling of status information during asynchronous execution. |
boolean |
getStoreSupported()
Returns whether the process supports storing of the response document (=asynchronous execution). |
LanguageString |
getTitle()
Returns the title of the process. |
java.lang.String |
getVersion()
Returns the version of the process. |
ProcessExecution |
prepareExecution()
Prepares a new ProcessExecution context that allows to execute the process. |
RawProcessExecution |
prepareRawExecution()
Prepares a new RawProcessExecution context that allows to execute the process using the WPS
RawOutput mode. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Process(WPSClient client, ProcessInfo processInfo)
Process
instance.
client
- associated client instance, must not be null
processInfo
- brief process info, must not be null
Method Detail |
---|
public CodeType getId()
null
public java.lang.String getVersion()
null
public LanguageString getTitle()
null
public LanguageString getAbstract()
null
(if the process description does not define an abstract)public InputType[] getInputTypes() throws java.io.IOException, OWSException
null
java.io.IOException
- if a communication/network problem occured
OWSException
- if the server replied with an exceptionpublic OutputType[] getOutputTypes() throws java.io.IOException, OWSException
null
java.io.IOException
- if a communication/network problem occured
OWSException
- if the server replied with an exceptionpublic boolean getStoreSupported() throws OWSException, java.io.IOException
java.io.IOException
- if a communication/network problem occured
OWSException
- if the server replied with an exceptionpublic boolean getStatusSupported() throws OWSException, java.io.IOException
java.io.IOException
- if a communication/network problem occured
OWSException
- if the server replied with an exceptionpublic ProcessExecution prepareExecution()
ProcessExecution
context that allows to execute the process.
This method will request the response using the WPS ResponseDocument
mode. If you're unsure, this is
most probably what you want, as it is the most flexible way of executing WPS processes.
null
public RawProcessExecution prepareRawExecution()
RawProcessExecution
context that allows to execute the process using the WPS
RawOutput
mode.
If you're unsure, then you most probably want to use prepareExecution()
, as the RawOutput
mode is rather restricted: just a single (complex) output, no asynchronous execution, no storing of output.
null
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |