JobDefinitionEvaluateOnExit

data class JobDefinitionEvaluateOnExit(val action: String, val onExitCode: String? = null, val onReason: String? = null, val onStatusReason: String? = null)

Constructors

Link copied to clipboard
constructor(action: String, onExitCode: String? = null, onReason: String? = null, onStatusReason: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies the action to take if all of the specified conditions ( onStatusReason , onReason , and onExitCode ) are met. The values aren't case sensitive.

Link copied to clipboard
val onExitCode: String? = null

Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. The pattern can be up to 512 characters long. It can contain only numbers, and can end with an asterisk (*) so that only the start of the string needs to be an exact match. The string can contain up to 512 characters.

Link copied to clipboard
val onReason: String? = null

Contains a glob pattern to match against the Reason returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

Link copied to clipboard
val onStatusReason: String? = null

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.), colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.