|
|||||||||||
| 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 |
|---|
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(String oper,
Throwable e,
Entry meta)
Any errors during execution of add() ends up here. |
void |
initialize()
This method does nothing. |
boolean |
trigger(String oper,
Entry work)
NOOP. |
boolean |
trigger(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 for| Method Detail |
|---|
public void initialize()
initialize in class AssemblyLineComponentpublic boolean willExecute(Entry work)
willExecute in class AssemblyLineComponentwork - The work Entry. Not used.
public int getType()
getType in class AssemblyLineComponent
public void add(Entry meta)
throws Exception
add in class AssemblyLineComponentmeta - The work entry (not used)
Exception - if a problem occurspublic int getParentBranchType()
public void handleException(String oper,
Throwable e,
Entry meta)
throws Exception
handleException in class AssemblyLineComponentoper - Not used.e - Exceptionmeta - Not used.
Exception - The "e" exception
public boolean trigger(String oper,
Entry work,
Entry conn)
trigger in class AssemblyLineComponentoper - Not used.work - Not used.conn - Not used.
public boolean trigger(String oper,
Entry work)
trigger in class AssemblyLineComponentoper - Not used.work - Not used.
public void close()
throws Exception
close in class AssemblyLineComponentException - None
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||