|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessDescriptor
Description of a process algorithm and its input/output parameters.
This interface extends the ISO 19115 Processing interface, which provide human-readable
information about the process. In addition to the ISO/OGC interface, ProcessDescriptor
provides:
Process instances which can be run in
an ExecutorService.
ProcessDescriptor instances are provided by ProcessingRegistry.
See the package javadoc for usage example.
| utility/geotk-utility (download) | View source code for this class |
| Field Summary | |
|---|---|
static ParameterDescriptor<ProcessStep> |
PROCESS_STEP
An optional parameter which should be part of the output descriptor. |
| Method Summary | |
|---|---|
Process |
createProcess(ParameterValueGroup input)
Creates a new process initialized with the given input parameter values. |
Identifier |
getIdentifier()
Information to identify the processing package that run the process. |
ParameterDescriptorGroup |
getInputDescriptor()
Returns a description of the input parameters. |
ParameterDescriptorGroup |
getOutputDescriptor()
Returns a description of the output parameters. |
InternationalString |
getProcedureDescription()
Additional details about the processing procedures. |
| Methods inherited from interface Processing |
|---|
getAlgorithms, getDocumentations, getRunTimeParameters, getSoftwareReferences |
| Field Detail |
|---|
static final ParameterDescriptor<ProcessStep> PROCESS_STEP
If this parameter is provided, then:
ProcessStep.getDate() is the execution date and time of the process.ProcessStep.getSources() are the geographic process inputs.ProcessStep.getOutputs() are the geographic process outputs.ProcessStep.getProcessingInformation() is the process descriptor.
| Method Detail |
|---|
Identifier getIdentifier()
getIdentifier in interface ProcessingInternationalString getProcedureDescription()
getProcedureDescription in interface Processingnull if none.ParameterDescriptorGroup getInputDescriptor()
This is the descriptor of the parameter values returned by Process.getInput().
Process.getInput(),
ProcessStep.getSources()ParameterDescriptorGroup getOutputDescriptor()
Process.call().
Those parameter values include output data
(for example the output images) and optionally some metadata related to those outputs
(for example statistics).
While not mandatory, it is recommended that the returned descriptor contains the
PROCESS_STEP parameter.
Process.call(),
ProcessStep.getOutputs()Process createProcess(ParameterValueGroup input)
ExecutorService or invoke Process.call() explicitely.
The input parameters are typically created by calls to
getInputDescriptor().createValue(). Then the parameter values shall be set before to be given to this
createProcess method.
input - The input parameters.
ExecutorService.submit(Callable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||