- All Implemented Interfaces:
Batchlet
public abstract class AbstractBatchlet
extends Object
implements Batchlet
The AbstractBatchlet provides default
implementations of less commonly implemented methods.
-
Constructor Summary
Constructors
-
Method Summary
Implement process logic for the Batchlet in this
method.
void
Override this method if the Batchlet will
end in response to the JobOperator.stop()
operation.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstractBatchlet
public AbstractBatchlet()
-
Method Details
-
process
Implement process logic for the Batchlet in this
method.
- Specified by:
process
in interface Batchlet
- Returns:
- exit status string
- Throws:
Exception
- (or subclass) if an error occurs.
-
stop
Override this method if the Batchlet will
end in response to the JobOperator.stop()
operation.
The default implementation does nothing.
- Specified by:
stop
in interface Batchlet
- Throws:
Exception
- (or subclass) if an error occurs.