Interface StepPolicyMockScript
interface StepPolicyMockScript {
buildFailure?: string;
onStepAbnormalTermination?: FailureHookEnding;
onStepFailure?: FailureHookEnding;
onStepRetry?: FailureHookEnding;
onStepSuccess?: HookEnding;
}
buildFailure?: string;
onStepAbnormalTermination?: FailureHookEnding;
onStepFailure?: FailureHookEnding;
onStepRetry?: FailureHookEnding;
onStepSuccess?: HookEnding;
}
Index
Properties
Optional Readonlybuild Failure
buildFailure?: string
The message of the error its constructor throws, when it cannot be built.
Optional Readonlyon Step Abnormal Termination
How every call of on step abnormal termination ends.
Optional Readonlyon Step Failure
How every call of on step failure ends.
Optional Readonlyon Step Retry
How every call of on step retry ends.
Optional Readonlyon Step Success
How every call of on step success ends.
How the hooks of a step policy mock end, each keeping the default unless the script says otherwise, and whether it cannot be built.