com.onionnetworks.antflow.job
Interface Job
- All Known Implementing Classes:
- HotFolderJob
- public interface Job
A job is something that can be pendingRanges by the scheduler. It's invocation
is governed by the Executor passed into it. The schedule will be configured
with cron like lines that won't be terribly good for passing in
configuration information. Consequently, these jobs will likely need to
work off of basic arguments rather than robust properties style config.
That or they'll have to have their own configuration files which I think no
one wants.
- Author:
- Ry4an Brase (ry4an@ry4an.org)
PARAM_TYPE
public static final java.lang.String PARAM_TYPE
- See Also:
- Constant Field Values
go
public void go(ExecutorFactory executorFactory,
java.io.File taskDir,
java.util.Map args,
WorkflowContext wfc)
throws java.lang.Exception
- Does the actual work of the task
- Parameters:
taskDir - directory for the pipeline to which this
job is linkedargs - any extra arguments provided for job invocation, likely
extra text on the cron linewfc - the WorkflowContext on which to execute tasks
- Throws:
java.lang.Exception
Copyright © 2003-2004 Onion Networks. All Rights Reserved.