|
||||||||||
| 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,
Serialized Form| 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. |
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. |
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 nullprocessInfo - brief process info, must not be null| Method Detail |
|---|
public CodeType getId()
nullpublic String getVersion()
nullpublic LanguageString getTitle()
nullpublic LanguageString getAbstract()
null (if the process description does not define an abstract)
public InputType[] getInputTypes()
throws OWSExceptionReport,
IOException
null
OWSExceptionReport - if the server replied with an exception
IOException - if a communication/network problem occured
public OutputType[] getOutputTypes()
throws OWSExceptionReport,
IOException
null
OWSExceptionReport - if the server replied with an exception
IOException - if a communication/network problem occured
public boolean getStoreSupported()
throws OWSExceptionReport,
IOException
OWSExceptionReport - if the server replied with an exception
IOException - if a communication/network problem occured
public boolean getStatusSupported()
throws OWSExceptionReport,
IOException
OWSExceptionReport - if the server replied with an exception
IOException - if a communication/network problem occuredpublic 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.
nullpublic 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.
nullpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||