public class SleepHandler extends ArtefactHandler<Sleep,ReportNode>
context, FILE_VARIABLE_PREFIX, logger
Constructor and Description |
---|
SleepHandler() |
Modifier and Type | Method and Description |
---|---|
SleepReportNode |
createReportNode_(ReportNode parentNode,
Sleep testArtefact)
Creates the
ReportNode corresponding to the provided artefact |
protected void |
createReportSkeleton_(ReportNode parentNode,
Sleep testArtefact) |
protected void |
execute_(ReportNode node,
Sleep testArtefact)
Execute the provided artefact and report the execution to the provided report node
|
protected long |
getValueAsLong(Object value) |
createReportSkeleton, createWorkArtefact, createWorkArtefact, createWorkArtefact, delegateCreateReportSkeleton, delegateCreateReportSkeleton, delegateExecute, delegateExecute, excludePropertyChildren, execute, fail, failWithException, failWithException, failWithException, filterPropertyChildren, getBindings, getChildren, getChildren, init, initProperties, isInSession, releaseTokens, removeReportNode
protected void createReportSkeleton_(ReportNode parentNode, Sleep testArtefact)
createReportSkeleton_
in class ArtefactHandler<Sleep,ReportNode>
protected long getValueAsLong(Object value)
protected void execute_(ReportNode node, Sleep testArtefact)
ArtefactHandler
execute_
in class ArtefactHandler<Sleep,ReportNode>
node
- the ReportNode
corresponding to the artefacttestArtefact
- the AbstractArtefact
to be executedpublic SleepReportNode createReportNode_(ReportNode parentNode, Sleep testArtefact)
ArtefactHandler
ReportNode
corresponding to the provided artefactcreateReportNode_
in class ArtefactHandler<Sleep,ReportNode>
parentNode
- the parent ReportNode
testArtefact
- the artefact to create the node forCopyright © 2020. All rights reserved.