|
||||||||||
| 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.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.server.AssemblyLineComponent |
|---|
addmap, CHECKPOINT_GETS, config, connConfig, connector, connPool, handler, imap, INITIALIZE, log, modmap, name, parent, pooledConnector, restartCycle, reusingConnector, SELECT, stats |
| 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, toString, wait, wait, wait |
| 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 - the component is not initialized or
the underlying Connector raised an error or
some of the user-defined hooks raised an errorpublic 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 | |||||||||