|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Fundamental interface for processing node queues.
| Method Summary | |
IWorkProperties |
getDefaultProperties()
Retrieves the default properties for this IWorker. |
void |
process(IWorkProperties runtimeProps,
IWorkspace workspace)
Perform one stage of processing in the workspace. |
void |
setDefaultProperties(IWorkProperties defaultProps)
Initializes IWorker with default properties. |
| Methods inherited from interface org.writersforge.catalan.process.workers.IMetadataHolder |
getMetadata, validateProperties, validateType |
| Method Detail |
public void setDefaultProperties(IWorkProperties defaultProps)
throws WorkPropertyException
defaultProps - default initialization data
WorkPropertyException - if any given config parameters are invalidpublic IWorkProperties getDefaultProperties()
public void process(IWorkProperties runtimeProps,
IWorkspace workspace)
throws ProcessException
process() method can be called many times for a single
IWorker instance throughout a processing run; state should not be cached
between process() invocations.
runtimeProps - extra runtime parametersworkspace - processing environment
ProcessException - if a fatal error occurs during processing,
if any mandatory parameters are missing, if any parameters
are invalid, or if workspace parameter is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||