|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.service.pipeline.PipelineLink
public class PipelineLink
This class contains a reference to a PipelineProcessor and a mapping of return values to next processors. It is used by the PipelineChain to call the runProcess() method on the component and then get the reference to the next processor based on the return value.
PipelineChain
,
PipelineProcessor
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the linkId. |
PipelineLink |
getNextLink(int pRetCode)
Returns the PipelineLink object mapped to aRetCode. |
PipelineLink[] |
getNextLinks(int[] pRetCodes)
Returns an array of PipelineLink objects that are mapped to the given return codes. |
PipelineProcessor |
getProcessor()
Returns the PipelineProcessor object which the link represents. |
java.lang.String |
getProcessorClass()
Returns the classname associated with our processor. |
java.lang.String |
getProcessorMode()
Returns the processor mode for the link. |
int[] |
getProcessorRetCodes()
Gets the retCodes defined by our processor. |
int[] |
getRetCodes()
Returns an array of return codes that are mapped in the PipelineLink. |
int |
getTransactionMode()
Returns the transaction mode for this PipelineLink. |
void |
setTransactionMode(int pMode)
Sets the transaction mode for the link. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Method Detail |
---|
public final java.lang.String getId()
public int getTransactionMode()
public void setTransactionMode(int pMode) throws LockChainException
LockChainException
public PipelineProcessor getProcessor()
public java.lang.String getProcessorMode()
public java.lang.String getProcessorClass()
public int[] getProcessorRetCodes()
public PipelineLink getNextLink(int pRetCode)
public PipelineLink[] getNextLinks(int[] pRetCodes)
public int[] getRetCodes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |