Interface ServiceJobEvaluateOnExit.Builder

  • Method Details

    • action

      The action to take if the service job exits with the specified condition. Valid values are RETRY and EXIT.

      Parameters:
      action - The action to take if the service job exits with the specified condition. Valid values are RETRY and EXIT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action to take if the service job exits with the specified condition. Valid values are RETRY and EXIT.

      Parameters:
      action - The action to take if the service job exits with the specified condition. Valid values are RETRY and EXIT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • onStatusReason

      ServiceJobEvaluateOnExit.Builder onStatusReason(String onStatusReason)

      Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

      Parameters:
      onStatusReason - Contains a glob pattern to match against the StatusReason returned for a job. The pattern can contain up to 512 characters and can contain all printable characters. It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.