public interface IOProcess
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ProcessException> |
getExceptions()
Get exceptions thrown during process.
|
IParameter |
getInput(java.lang.String name)
Get a parameter by name.
|
java.util.Map<java.lang.String,IParameter> |
getInputs() |
java.util.Map<java.lang.String,Specification> |
getInputSpecification()
Specification of input parameters. |
java.lang.String |
getName() |
java.lang.Object |
getOutput(java.lang.String name)
Get an output parameter or thows an exception if this parameter does not exists.
|
java.util.Map<java.lang.String,Specification> |
getOutputSpecification()
Specification of output parameters. |
java.lang.Object |
process()
Processes input parameters and return an object of type getType().
|
IOProcess |
setInput(java.lang.String name,
IParameter param)
Set an input parameter fo this process.
|
void |
setInputs(java.util.Map<java.lang.String,IParameter> inputs)
Set input values as a Map
|
getType, getValuejava.util.Map<java.lang.String,Specification> getInputSpecification()
Specification of input parameters.java.util.Map<java.lang.String,Specification> getOutputSpecification()
Specification of output parameters.IOProcess setInput(java.lang.String name, IParameter param) throws java.lang.Exception
name - name of the parameterparam - value of the parameterjava.lang.ExceptionIParameter getInput(java.lang.String name)
name - of the parameter to retrievejava.lang.Object getOutput(java.lang.String name)
throws ProcessOutputException
name - the name of the parameter to retrieveProcessOutputException - if name is not defined for this Processjava.util.List<ProcessException> getExceptions()
java.lang.String getName()
java.util.Map<java.lang.String,IParameter> getInputs()
void setInputs(java.util.Map<java.lang.String,IParameter> inputs)
java.lang.Object process()
throws ProcessException
ProcessException