public interface ResultsAlgorithm
extends com.ibm.batch.spi.ResultsAlgorithm
Modifier and Type | Method and Description |
---|---|
int |
fireResultsAlgorithms(java.lang.String jobid,
java.lang.String stepname,
int steprc,
int jobrc)
Called by the Batch Execution Environment at the end of the batch step to which the results algorithm is applied.
|
java.lang.String |
getalgorithmName()
Returns the algorithm name
|
boolean |
initialize(ResultsAlgorithm result)
Called by Batch Execution Environment to initialize the Results Algorithm.
|
boolean initialize(ResultsAlgorithm result)
initialize
in interface com.ibm.batch.spi.ResultsAlgorithm
result
- The ResultsAlgorithm configuration data from xJCLjava.lang.String getalgorithmName()
getalgorithmName
in interface com.ibm.batch.spi.ResultsAlgorithm
int fireResultsAlgorithms(java.lang.String jobid, java.lang.String stepname, int steprc, int jobrc)
fireResultsAlgorithms
in interface com.ibm.batch.spi.ResultsAlgorithm
jobid
- The id of the job.stepname
- The name of step.steprc
- The return code of the batch step for which this algorithm is being fired.result
- The current return code of the batch job