|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.local.impl.SequenceImpl
public class SequenceImpl
Constructor Summary | |
---|---|
SequenceImpl(Sequence sequence,
ConfigInstanceImpl configInstance,
SessionImpl session)
Class constructor. |
Method Summary | |
---|---|
ConfigInstance |
getConfigInstance()
Returns the configuration instance of the Sequence. |
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 AssemblyLine. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SequenceImpl(Sequence sequence, ConfigInstanceImpl configInstance, SessionImpl session) throws DIException
DIException
- if any of the parameter is null
Method Detail |
---|
public ConfigInstance getConfigInstance() throws DIException
Sequence
getConfigInstance
in interface Sequence
DIException
- if an error occurs while retrieving the configuration
instance information.public String getName() throws DIException
Sequence
getName
in interface Sequence
DIException
- if an error occurs while retrieving the namepublic Entry getResult() throws DIException
Sequence
getResult
in interface Sequence
DIException
- if an error occurs while getting the result Entry.public TaskStatistics getStatistics() throws DIException
Sequence
getStatistics
in interface Sequence
DIException
- if an error occurs while getting the Sequence statistics.public int getUniqueCode() throws DIException
Sequence
getUniqueCode
in interface Sequence
DIException
- if an error occurs while retrieving the unique code.public boolean isActive() throws DIException
Sequence
isActive
in interface Sequence
DIException
- if an error occurs while getting the state.public void stop() throws DIException
Sequence
stop
in interface Sequence
DIException
- if an error occurs while stopping the AssemblyLine.public void stop(boolean sync) throws DIException
Sequence
stop
in interface Sequence
sync
- If true, create a new Thread to do the waiting.
DIException
- if an error occurs while stopping the Sequence.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |