public class LadybugPipe extends FixedForwardPipe
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
LadybugPipe() |
Modifier and Type | Method and Description |
---|---|
void |
configure()
checks for correct configuration of forward
|
PipeRunResult |
doPipe(Message message,
PipeLineSession session)
This is where the action takes place.
|
void |
setCheckRoles(boolean checkRoles)
Set to
true when the pipeline is triggered by a user (e.g. |
void |
setDebugStorage(nl.nn.testtool.storage.Storage debugStorage) |
void |
setEnableReportGenerator(boolean enabled)
Set to
true to enable Ladybug's report generator for the duration of the scheduled report runs
then revert it to its original setting |
void |
setExclude(String exclude)
When set, reports with a full path (path + name) that matches with the specified regular expression are skipped.
|
void |
setReportXmlTransformer(nl.nn.testtool.transform.ReportXmlTransformer reportXmlTransformer) |
void |
setTestStorage(nl.nn.testtool.storage.CrudStorage testStorage) |
void |
setTestTool(nl.nn.testtool.TestTool testTool) |
void |
setWriteToLog(boolean writeToLog)
whether or not to write results to the logfile (testtool4<instance.name>)
|
void |
setWriteToSystemOut(boolean writeToSystemOut)
whether or not to write results to system out
|
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, getParameterOverriddenAttributeValue, getParameterValueList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, start, stop, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine
getMaxThreads
getName
getApplicationContext, getName
getConfigurationClassLoader
getName
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
public void configure() throws ConfigurationException
FixedForwardPipe
configure
in interface IConfigurable
configure
in interface IPipe
configure
in class FixedForwardPipe
ConfigurationException
public PipeRunResult doPipe(Message message, PipeLineSession session) throws PipeRunException
AbstractPipe
doPipe
in interface IPipe
doPipe
in class AbstractPipe
PipeRunException
public void setWriteToLog(boolean writeToLog)
public void setWriteToSystemOut(boolean writeToSystemOut)
public void setCheckRoles(boolean checkRoles)
true
when the pipeline is triggered by a user (e.g. using an http based listener
that will add a securityHandler session key) and you don't want the listener to check whether the user
is autorised and/or you want the enforce the roles as configured for the Ladybugpublic void setEnableReportGenerator(boolean enabled)
true
to enable Ladybug's report generator for the duration of the scheduled report runs
then revert it to its original settingpublic void setExclude(String exclude)
public void setTestTool(nl.nn.testtool.TestTool testTool)
public void setTestStorage(nl.nn.testtool.storage.CrudStorage testStorage)
public void setDebugStorage(nl.nn.testtool.storage.Storage debugStorage)
public void setReportXmlTransformer(nl.nn.testtool.transform.ReportXmlTransformer reportXmlTransformer)
Copyright © 2023 Frank!Framework. All rights reserved.