|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.server.AssemblyLineComponent
com.ibm.di.server.EndBranchComponent
public class EndBranchComponent
The EndBranchComponent is an internal component that is associated with a BranchComponent. Its job is to check if we are in an if/else-if/else construct and skip any else-if/else type branch components based on the execute status of the associated BranchComponent.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class com.ibm.di.server.AssemblyLineComponent |
---|
addmap, CHECKPOINT_GETS, config, connConfig, connector, connPool, END_OF_DATA, handler, HOOKS_INVOKED, imap, INITIALIZE, initializeCount, LAST_CONN, LAST_ERROR, log, modmap, name, NUM_ADD, NUM_CALLREPLY, NUM_DELETE, NUM_ERRORS, NUM_GET, NUM_GET_TRIES, NUM_GETCLIENT, NUM_GETCLIENT_TRIES, NUM_IGNORED, NUM_LOOKUP, NUM_MODIFY, NUM_NOCHANGE, NUM_SKIPPED, parent, pooledConnector, reusingConnector, SELECT, stats, SUCCESSFUL |
Constructor Summary | |
---|---|
EndBranchComponent(AssemblyLine parent,
BranchingComponent bc)
The Constructor for the EndBranchComponent |
Method Summary | |
---|---|
void |
add(Entry meta)
This method is called by the hosting AssemblyLine. |
void |
close()
Release resources. |
int |
getParentBranchType()
Returns the type of the original branch to which this end branch belongs. |
int |
getType()
This method returns the AL component type (ServerConstants.TYPE_BRANCH) |
void |
handleException(java.lang.String oper,
java.lang.Throwable e,
Entry meta)
Any errors during execution of add() ends up here. |
void |
initialize()
This method does nothing. |
boolean |
trigger(java.lang.String oper,
Entry work)
NOOP. |
boolean |
trigger(java.lang.String oper,
Entry work,
Entry conn)
NOOP. |
boolean |
willExecute(Entry work)
This method always returns true. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public EndBranchComponent(AssemblyLine parent, BranchingComponent bc)
parent
- The AssemblyLine that contains this EndBranchComponentbc
- The BranchingComponent that this is an end forMethod Detail |
---|
public void initialize()
initialize
in class AssemblyLineComponent
public boolean willExecute(Entry work)
willExecute
in class AssemblyLineComponent
work
- The work Entry. Not used.
public int getType()
getType
in class AssemblyLineComponent
public void add(Entry meta) throws java.lang.Exception
add
in class AssemblyLineComponent
meta
- The work entry (not used)
java.lang.Exception
- if a problem occurspublic int getParentBranchType()
public void handleException(java.lang.String oper, java.lang.Throwable e, Entry meta) throws java.lang.Exception
handleException
in class AssemblyLineComponent
oper
- Not used.e
- Exceptionmeta
- Not used.
java.lang.Exception
- The "e" exceptionpublic boolean trigger(java.lang.String oper, Entry work, Entry conn)
trigger
in class AssemblyLineComponent
oper
- Not used.work
- Not used.conn
- Not used.
public boolean trigger(java.lang.String oper, Entry work)
trigger
in class AssemblyLineComponent
oper
- Not used.work
- Not used.
public void close() throws java.lang.Exception
close
in class AssemblyLineComponent
java.lang.Exception
- None
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |