Package step.artefacts.handlers
Class FunctionGroupHandler
java.lang.Object
step.core.artefacts.handlers.ArtefactHandler<FunctionGroup,ReportNode>
step.artefacts.handlers.FunctionGroupHandler
- All Implemented Interfaces:
FunctionGroupHandle
public class FunctionGroupHandler
extends ArtefactHandler<FunctionGroup,ReportNode>
implements FunctionGroupHandle
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class step.core.artefacts.handlers.ArtefactHandler
context, FILE_VARIABLE_PREFIX, FORCE_PERSIST_BEFORE, logger, TEC_EXECUTION_REPORTNODES_PERSISTAFTER, TEC_EXECUTION_REPORTNODES_PERSISTBEFORE, TEC_EXECUTION_REPORTNODES_PERSISTONLYNONPASSED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateReportNode_(ReportNode parentNode, FunctionGroup testArtefact) Creates theReportNodecorresponding to the provided artefactprotected voidcreateReportSkeleton_(ReportNode node, FunctionGroup testArtefact) protected voidexecute_(ReportNode node, FunctionGroup testArtefact) Execute the provided artefact and report the execution to the provided report nodevoidinit(ExecutionContext context) booleanisInSession(step.core.AbstractContext context) voidreleaseTokens(step.core.AbstractContext context, boolean local) Methods inherited from class step.core.artefacts.handlers.ArtefactHandler
createReportSkeleton, createWorkArtefact, createWorkArtefact, createWorkArtefact, delegateCreateReportSkeleton, delegateCreateReportSkeleton, delegateExecute, delegateExecute, excludePropertyChildren, execute, fail, failWithException, failWithException, failWithException, filterPropertyChildren, getBindings, getChildren, getChildren, initProperties, isInSession, releaseTokens, removeReportNode
-
Field Details
-
FUNCTION_GROUP_CONTEXT_KEY
- See Also:
-
-
Constructor Details
-
FunctionGroupHandler
public FunctionGroupHandler()
-
-
Method Details
-
init
- Overrides:
initin classArtefactHandler<FunctionGroup,ReportNode>
-
createReportSkeleton_
- Specified by:
createReportSkeleton_in classArtefactHandler<FunctionGroup,ReportNode>
-
execute_
Description copied from class:ArtefactHandlerExecute the provided artefact and report the execution to the provided report node- Specified by:
execute_in classArtefactHandler<FunctionGroup,ReportNode> - Parameters:
node- theReportNodecorresponding to the artefacttestArtefact- theAbstractArtefactto be executed- Throws:
Exception
-
releaseTokens
- Specified by:
releaseTokensin interfaceFunctionGroupHandle- Throws:
Exception
-
isInSession
public boolean isInSession(step.core.AbstractContext context) - Specified by:
isInSessionin interfaceFunctionGroupHandle
-
createReportNode_
Description copied from class:ArtefactHandlerCreates theReportNodecorresponding to the provided artefact- Specified by:
createReportNode_in classArtefactHandler<FunctionGroup,ReportNode> - Parameters:
parentNode- the parentReportNodetestArtefact- the artefact to create the node for- Returns:
-