Package com.ibm.di.api.remote
Interface Sequence
-
- All Superinterfaces:
java.rmi.Remote
- All Known Implementing Classes:
SequenceImpl
public interface Sequence extends java.rmi.Remote
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigInstance
getConfigInstance()
Returns the configuration instance of the Sequence.java.lang.String
getName()
Returns the name of the Sequence.Entry
getResult()
This method returns the result entry object.TaskStatistics
getStatistics()
This method returns the TaskStatistics object for this Sequence.int
getUniqueCode()
Returns the unique code of the Sequence.boolean
isActive()
Checks if the Sequence is active.void
stop()
Stops the execution of the Sequence.void
stop(boolean sync)
Stops the execution of the Sequence, and waits for it to stop.
-
-
-
Method Detail
-
getConfigInstance
ConfigInstance getConfigInstance() throws DIException, java.rmi.RemoteException
Returns the configuration instance of the Sequence.- Returns:
- Returns ConfigInstance object
- Throws:
DIException
- if an error occurs while retrieving the configuration instance information.java.rmi.RemoteException
-
getName
java.lang.String getName() throws DIException, java.rmi.RemoteException
Returns the name of the Sequence.- Returns:
- String object representing the Sequence's name.
- Throws:
DIException
- if an error occurs while retrieving the namejava.rmi.RemoteException
-
getUniqueCode
int getUniqueCode() throws DIException, java.rmi.RemoteException
Returns the unique code of the Sequence.- Returns:
- int value representing the unique code of the Sequence.
- Throws:
DIException
- if an error occurs while retrieving the unique code.java.rmi.RemoteException
-
getStatistics
TaskStatistics getStatistics() throws DIException, java.rmi.RemoteException
This method returns the TaskStatistics object for this Sequence.- Returns:
- The accumulated TaskStatistics object.
- Throws:
DIException
- if an error occurs while getting the Sequence statistics.java.rmi.RemoteException
-
isActive
boolean isActive() throws DIException, java.rmi.RemoteException
Checks if the Sequence is active.- Returns:
- true if the Sequence thread is alive, false otherwise.
- Throws:
DIException
- if an error occurs while getting the state.java.rmi.RemoteException
-
getResult
Entry getResult() throws DIException, java.rmi.RemoteException
This method returns the result entry object. This object is a copy of the working entry.- Returns:
- The last "work" entry object.
- Throws:
DIException
- if an error occurs while getting the result Entry.java.rmi.RemoteException
-
stop
void stop() throws DIException, java.rmi.RemoteException
Stops the execution of the Sequence.- Throws:
DIException
- if an error occurs while stopping the AssemblyLine.java.rmi.RemoteException
-
stop
void stop(boolean sync) throws DIException, java.rmi.RemoteException
Stops the execution of the Sequence, and waits for it to stop.- Parameters:
sync
- If true, create a new Thread to do the waiting.- Throws:
DIException
- if an error occurs while stopping the Sequence.java.rmi.RemoteException
-
-