Package org.frankframework.pipes
Class FixedForwardPipe
java.lang.Object
org.frankframework.core.TransactionAttributes
org.frankframework.pipes.AbstractPipe
org.frankframework.pipes.FixedForwardPipe
- All Implemented Interfaces:
HasTransactionAttribute
,IConfigurable
,IConfigurationAware
,IForwardTarget
,INamedObject
,IPipe
,IScopeProvider
,IWithParameters
,EventThrowing
,HasStatistics
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
AbstractCollectorPipe
,AbstractLdapQueryPipe
,AbstractValidator
,ApiPrincipalPipe
,Base64Pipe
,BytesOutputPipe
,CompressPipe
,CounterSwitchPipe
,CredentialCheckingPipe
,CrlPipe
,CsvParserPipe
,DataSonnetPipe
,DelayPipe
,DomainTransformerPipe
,EchoPipe
,EscapePipe
,EtagHandlerPipe
,FixedResultPipe
,GetFromSession
,GetPrincipalPipe
,HashPipe
,IncreaseIntegerPipe
,IsUserInRolePipe
,JsonPipe
,JsonWellFormedChecker
,JwtPipe
,LdapChallengePipe
,LogContextPipe
,MessageSendingPipe
,PasswordGeneratorPipe
,PasswordHashPipe
,PGPPipe
,PostboxRetrieverPipe
,PutInSession
,PutParametersInSession
,PutSystemDateInSession
,RemoveCacheKeyPipe
,RemoveFromSession
,ReplacerPipe
,SignaturePipe
,SizePipe
,SkipPipe
,SoapWrapperPipe
,Stream2StringPipe
,StreamPipe
,Text2XmlPipe
,TextSplitterPipe
,TimeoutGuardPipe
,UnzipPipe
,UUIDGeneratorPipe
,WsdlGeneratorPipe
,XmlBuilderPipe
,XmlWellFormedChecker
,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.
Ancestor classes should call
super.configure()
in their configure()
-methods.- Author:
- Gerrit van Brakel
-
Field Summary
Fields inherited from class org.frankframework.pipes.AbstractPipe
parameterNamesMustBeUnique
Fields inherited from class org.frankframework.core.TransactionAttributes
log
Fields inherited from interface org.frankframework.core.IPipe
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checks for correct configuration of forwardprotected String
getParameterValue
(ParameterValueList pvl, String parameterName) boolean
void
setIfParam
(String string) If set, this pipe is only executed when the value of parameter with nameifParam
equalsifValue
(otherwise this pipe is skipped)void
setIfValue
(String string) SeeifParam
void
setOnlyIfSessionKey
(String onlyIfSessionKey) Key of session variable to check if action must be executed.void
setOnlyIfValue
(String onlyIfValue) Value of session variable 'onlyIfSessionKey' to check if action must be executed.void
setSkipOnEmptyInput
(boolean b) If set, the processing continues directly at the forward of this pipe, without executing the pipe itself, if the input is emptyvoid
setUnlessSessionKey
(String unlessSessionKey) Key of session variable to check if action must be executed.void
setUnlessValue
(String unlessValue) Value of session variable 'unlessSessionKey' to check if action must be executed.boolean
skipPipe
(Message input, PipeLineSession session) called byInputOutputPipeProcessor
to check if the pipe needs to be skipped.Methods inherited from class org.frankframework.pipes.AbstractPipe
addForward, addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getApplicationContext, getChompCharSize, getConfigurationClassLoader, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getEventSourceName, getForwards, getGetInputFromFixedValue, getGetInputFromSessionKey, getHideRegex, getLocker, getLogIntermediaryResults, getMaxThreads, getName, getParameterList, getPipeLine, getSecLogSessionKeys, getStoreResultInSessionKey, hasRegisteredForward, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, registerEvent, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setEventPublisher, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPipeLine, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, sizeStatisticsEnabled, start, stop, throwEvent
Methods inherited from class org.frankframework.core.TransactionAttributes
configureTransactionAttributes, getTransactionAttribute, getTransactionTimeout, getTxDef, isTransacted, isTransacted, setTransacted, setTransactionAttribute, setTransactionTimeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.core.IPipe
doPipe, throwEvent
-
Constructor Details
-
FixedForwardPipe
public FixedForwardPipe()
-
-
Method Details
-
configure
checks for correct configuration of forward- Specified by:
configure
in interfaceIConfigurable
- Specified by:
configure
in interfaceIPipe
- Overrides:
configure
in classAbstractPipe
- Throws:
ConfigurationException
-
skipPipe
called byInputOutputPipeProcessor
to check if the pipe needs to be skipped.- Throws:
PipeRunException
-
getParameterValue
-
setSkipOnEmptyInput
public void setSkipOnEmptyInput(boolean b) If set, 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 parameter with nameifParam
equalsifValue
(otherwise this pipe is skipped) -
setIfValue
SeeifParam
-
setOnlyIfSessionKey
Key of session variable to check if 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 action must be executed. The pipe is only executed if the session variable has the specified value -
setUnlessSessionKey
Key of session variable to check if 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 action must be executed. The pipe is not executed if the session variable has the specified value -
getSuccessForward
-
isSkipOnEmptyInput
public boolean isSkipOnEmptyInput() -
getIfParam
-
getIfValue
-
getOnlyIfSessionKey
-
getOnlyIfValue
-
getUnlessSessionKey
-
getUnlessValue
-