Interface RemediationStep.Builder

  • Method Details

    • phase

      The phase of the remediation plan that this step belongs to (for example, FIX).

      Parameters:
      phase - The phase of the remediation plan that this step belongs to (for example, FIX).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      RemediationStep.Builder description(String description)

      A description of what the step does.

      Parameters:
      description - A description of what the step does.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • service

      RemediationStep.Builder service(String service)

      Which service this step is performed in.

      Parameters:
      service - Which service this step is performed in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      The action to be taken for this step.

      Parameters:
      action - The action to be taken for this step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logic

      The logic behind the existence of this step.

      Parameters:
      logic - The logic behind the existence of this step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inverse

      RemediationStep.Builder inverse(String inverse)

      The inverse of the step, to be used if the step needs to be rolled back.

      Parameters:
      inverse - The inverse of the step, to be used if the step needs to be rolled back.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verifyAfter

      RemediationStep.Builder verifyAfter(String verifyAfter)

      The action to take after the step to verify its success.

      Parameters:
      verifyAfter - The action to take after the step to verify its success.
      Returns:
      Returns a reference to this object so that method calls can be chained together.