Class AccumulatingBuildScriptLogAndScriptLogLineExecutionLogger
java.lang.Object
com.kingsrook.qqq.backend.core.actions.scripts.logging.BuildScriptLogAndScriptLogLineExecutionLogger
com.kingsrook.qqq.backend.core.actions.scripts.logging.AccumulatingBuildScriptLogAndScriptLogLineExecutionLogger
- All Implemented Interfaces:
QCodeExecutionLoggerInterface,ScriptExecutionLoggerInterface,Serializable
public class AccumulatingBuildScriptLogAndScriptLogLineExecutionLogger
extends BuildScriptLogAndScriptLogLineExecutionLogger
implements ScriptExecutionLoggerInterface
- See Also:
-
Field Summary
Fields inherited from class com.kingsrook.qqq.backend.core.actions.scripts.logging.BuildScriptLogAndScriptLogLineExecutionLogger
executeCodeInput -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptException(Exception exception) Called if the script fails with an exception.voidacceptExecutionEnd(Serializable output) Called if the script completes without exception.voidacceptExecutionStart(ExecuteCodeInput executeCodeInput) Called when the execution starts - takes the execution's input object.voidsetScriptId(Integer scriptId) voidsetScriptRevisionId(Integer scriptRevisionId) voidMethods inherited from class com.kingsrook.qqq.backend.core.actions.scripts.logging.BuildScriptLogAndScriptLogLineExecutionLogger
acceptLogLine, buildDetailLogRecord, getScriptLog, getScriptLogLines, setScriptLog, setScriptLogLines, updateHeaderAtEndMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.actions.scripts.logging.QCodeExecutionLoggerInterface
log
-
Constructor Details
-
AccumulatingBuildScriptLogAndScriptLogLineExecutionLogger
public AccumulatingBuildScriptLogAndScriptLogLineExecutionLogger()
-
-
Method Details
-
acceptExecutionStart
Description copied from interface:QCodeExecutionLoggerInterfaceCalled when the execution starts - takes the execution's input object.- Specified by:
acceptExecutionStartin interfaceQCodeExecutionLoggerInterface- Overrides:
acceptExecutionStartin classBuildScriptLogAndScriptLogLineExecutionLogger
-
acceptException
Description copied from interface:QCodeExecutionLoggerInterfaceCalled if the script fails with an exception.- Specified by:
acceptExceptionin interfaceQCodeExecutionLoggerInterface- Overrides:
acceptExceptionin classBuildScriptLogAndScriptLogLineExecutionLogger
-
acceptExecutionEnd
Description copied from interface:QCodeExecutionLoggerInterfaceCalled if the script completes without exception.- Specified by:
acceptExecutionEndin interfaceQCodeExecutionLoggerInterface- Overrides:
acceptExecutionEndin classBuildScriptLogAndScriptLogLineExecutionLogger
-
storeAndClear
public void storeAndClear() -
setScriptId
- Specified by:
setScriptIdin interfaceScriptExecutionLoggerInterface- Overrides:
setScriptIdin classBuildScriptLogAndScriptLogLineExecutionLogger
-
setScriptRevisionId
- Specified by:
setScriptRevisionIdin interfaceScriptExecutionLoggerInterface- Overrides:
setScriptRevisionIdin classBuildScriptLogAndScriptLogLineExecutionLogger
-