Package org.frankframework.pipes
Class FixedForwardPipe
java.lang.Object
org.frankframework.core.TransactionAttributes
org.frankframework.pipes.AbstractPipe
org.frankframework.pipes.FixedForwardPipe
- All Implemented Interfaces:
FrankElement,HasApplicationContext,HasName,HasTransactionAttribute,IConfigurable,IForwardTarget,IPipe,IScopeProvider,IWithParameters,NameAware,EventThrowing,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.Lifecycle
- Direct Known Subclasses:
AbstractCollectorPipe,AbstractFileSystemPipe,AbstractLdapQueryPipe,AbstractValidator,Adios2XmlPipe,AmountOfPagesPipe,ApiPrincipalPipe,Base64Pipe,BytesOutputPipe,CompressPipe,CounterSwitchPipe,CredentialCheckingPipe,CrlPipe,CsvParserPipe,DataSonnetPipe,DelayPipe,DirectWrapperPipe,DomainTransformerPipe,EchoPipe,EscapePipe,EtagHandlerPipe,FixedResultPipe,GetFromSessionPipe,GetPrincipalPipe,HashPipe,IncreaseIntegerPipe,IsUserInRolePipe,JsonPathPipe,JsonPipe,JsonWellFormedCheckerPipe,JwtPipe,LabelFormat,LadybugPipe,LarvaPipe,LogContextPipe,MessageSendingPipe,ObfuscatePipe,PasswordGeneratorPipe,PasswordHashPipe,PdfPipe,PGPPipe,PutInSessionPipe,PutSystemDateInSession,RekenBoxCallerPipe,RemoveCacheKeyPipe,RemoveFromSessionPipe,ReplacerPipe,SapLUWManagerPipe,ScanTibcoSolutionPipe,SignaturePipe,SizePipe,SkipPipe,SoapWrapperPipe,StreamPipe,StreamTransformerPipe,Text2XmlPipe,TextSplitterPipe,TimeoutGuardPipe,UnzipPipe,UUIDGeneratorPipe,WsdlGeneratorPipe,WsdlGeneratorPipe,XmlWellFormedCheckerPipe,XQueryPipe,XsltPipe
@Forward(name="success",
description="successful processing of the message of the pipe")
public abstract class FixedForwardPipe
extends AbstractPipe
Provides a base class for a Pipe that always has the same forward.
Subclasses should call
super.configure() in their configure() methods.- Author:
- Gerrit van Brakel
-
Field Summary
Fields inherited from class org.frankframework.pipes.AbstractPipe
parameterNamesMustBeUniqueFields inherited from class org.frankframework.core.TransactionAttributes
logFields inherited from interface org.frankframework.core.IPipe
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks for correct configuration of forward.protected StringgetParameterValue(ParameterValueList pvl, String parameterName) voidsetIfParam(String string) If set, this pipe is only executed when the value of the parameter with the nameifParamequalsifValue.voidsetIfValue(String string) SeeifParamvoidsetOnlyIfSessionKey(String onlyIfSessionKey) Key of the session variable to check if the action must be executed.voidsetOnlyIfValue(String onlyIfValue) Value of session variable 'onlyIfSessionKey' to check if the action must be executed.voidsetSkipOnEmptyInput(boolean b) Iftrue, the processing continues directly at the forward of this pipe, without executing the pipe itself, if the input is empty.voidsetUnlessSessionKey(String unlessSessionKey) Key of the session variable to check if the action must be executed.voidsetUnlessValue(String unlessValue) Value of session variable 'unlessSessionKey' to check if the action must be executed.booleanskipPipe(Message input, PipeLineSession session) Called byInputOutputPipeProcessorto check if the pipe needs to be skipped.Methods inherited from class org.frankframework.pipes.AbstractPipe
addForward, addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getParameterList, hasRegisteredForward, isRunning, registerEvent, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, sizeStatisticsEnabled, start, stop, throwEventMethods inherited from class org.frankframework.core.TransactionAttributes
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.core.HasTransactionAttribute
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttributeMethods inherited from interface org.frankframework.core.IForwardTarget
getNameMethods inherited from interface org.frankframework.core.IPipe
doPipe, getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getHideRegex, getLocker, getLogIntermediaryResults, getMaxThreads, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine, throwEvent
-
Constructor Details
-
FixedForwardPipe
public FixedForwardPipe()
-
-
Method Details
-
configure
Checks for correct configuration of forward.- Specified by:
configurein interfaceIConfigurable- Overrides:
configurein classAbstractPipe- Throws:
ConfigurationException- in case it was not able to configure the component.
-
skipPipe
Called byInputOutputPipeProcessorto check if the pipe needs to be skipped.- Throws:
PipeRunException
-
getParameterValue
-
setSkipOnEmptyInput
public void setSkipOnEmptyInput(boolean b) Iftrue, the processing continues directly at the forward of this pipe, without executing the pipe itself, if the input is empty.- Default value
- false
-
setIfParam
If set, this pipe is only executed when the value of the parameter with the nameifParamequalsifValue. Otherwise, this pipe is skipped. -
setIfValue
SeeifParam -
setOnlyIfSessionKey
Key of the session variable to check if the action must be executed. The pipe is only executed if the session variable exists and is not null. -
setOnlyIfValue
Value of session variable 'onlyIfSessionKey' to check if the action must be executed. The pipe is only executed if the session variable has the specified value. -
setUnlessSessionKey
Key of the session variable to check if the action must be executed. The pipe is not executed if the session variable exists and is not null. -
setUnlessValue
Value of session variable 'unlessSessionKey' to check if the action must be executed. The pipe is not executed if the session variable has the specified value.
-