|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JavaTaskInitializable
This Java interface provides some new methods invoked before and after
the standard execute(..) method of a Java task.
When your customized JavaTask implements this interface:
setUp(DataCollection) is invoked before each JavaTask.execute(DataCollection) invocationtearDown(DataCollection) is invoked after each JavaTask.execute(DataCollection) invocationNote
You cannot extend your Java task with this JavaTaskInitializable interface when it already extends the JavaTaskIterator interface.
JavaTask,
DataCollection| Method Summary | |
|---|---|
void |
setUp(DataCollection collection)
Invoked before each JavaTask.execute(DataCollection) invocation.Note |
void |
tearDown(DataCollection collection)
Invoked after each JavaTask.execute(DataCollection) invocation.Note that, it is not applicable when your JavaTask implements the JavaTaskIterator. |
| Method Detail |
|---|
void setUp(DataCollection collection)
throws ExecException
JavaTask.execute(DataCollection) invocation.Note
This is not applicable when your Java task implements the JavaTaskIterator interface.
collection - The data collection that contains the parameters that will be passed to the JavaTask.execute(DataCollection)
ExecException - is thrown when your conditions of setup are not correct
void tearDown(DataCollection collection)
throws ExecException
JavaTask.execute(DataCollection) invocation.JavaTask implements the JavaTaskIterator.
collection - The DataCollection contains the parameters passed to the JavaTask.execute(DataCollection)
ExecException - is thrown when your conditions of end are not correct
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||