|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Command<R extends Result>
Defines a command to run on a specific data package.
Additional parameters for the command can be specified as class attributes.
Method Summary | |
---|---|
Model |
getModel()
Return the model this command uses. |
R |
process(PackageData data)
Processes the specified package data according to the model defined for this command. |
Method Detail |
---|
Model getModel()
R process(PackageData data)
This method should intercept errors occurring during processing and include them in the results.
the
- data to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |