|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Process
A Process that returns a result and reports progress. Implementors define a single method called execute that accepts the inputs to process and a ProgressListener.
The Process interface is similar to Callable
, in that both are designed for classes whose
instances are potentially executed by another thread. A
Callable, however, does not report progress.
The Executors
class contains utility methods to
convert from other common forms to Callable classes.
/**
Used to process inputs and is reported using a ProgressListener.
Results are available after being run.
Method Summary | |
---|---|
Map<String,Object> |
execute(Map<String,Object> input,
ProgressListener monitor)
Execute this process with the provided inputs. |
Method Detail |
---|
Map<String,Object> execute(Map<String,Object> input, ProgressListener monitor) throws ProcessException
input
- Input parameters for this processmonitor
- listener for handling the progress of the process
ProcessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |