public interface JavaTaskStateListener
Java interface provides some new methods invoked before and after
the standard execute(..) method of a Java task; You extend your class with this interface
to implement to customize the behavior of an Import/Export Conncector (IEC) application when processing data collections.
When your customized Java task implements this interface, it receives state information about the current data collection: terminated, rejected, filtered.
Design and develop the following methods:
stateTerminated(String) method is invoked when the last action in the executed scenario has fully treated the current data collectionstateRejected(String, String[]) method is invoked when an action rejected the current data collection.
The reasons are explained in the parameters of the method.
stateFiltered(String) method is invoked when an action filtered the current data collection is fully treatedJavaTask,
DataCollection| Modifier and Type | Method and Description |
|---|---|
void |
stateFiltered(java.lang.String actionUid)
Invoked when the last action filtered the
current data collection. |
void |
stateRejected(java.lang.String actionUid,
java.lang.String[] arguments)
Invoked when the last action rejected the
current data collection. |
void |
stateTerminated(java.lang.String actionUid)
Invoked when the last action has fully treated the
current data collection. |
void stateTerminated(java.lang.String actionUid)
current data collection.actionUid - The identifier of the last action that has successfully treated the current data collectionvoid stateRejected(java.lang.String actionUid,
java.lang.String[] arguments)
current data collection.actionUid - The identifier of the last action that rejected the current data collectionarguments - The rejection reasonsvoid stateFiltered(java.lang.String actionUid)
current data collection.actionUid - The identifier of the last action that filtered the current data collection