Class AutoHealActions


  • public final class AutoHealActions
    extends Object
    Actions which to take by the auto-heal module when a rule is triggered.
    • Constructor Detail

      • AutoHealActions

        public AutoHealActions()
    • Method Detail

      • actionType

        public AutoHealActionType actionType()
        Get the actionType property: Predefined action to be taken.
        Returns:
        the actionType value.
      • withActionType

        public AutoHealActions withActionType​(AutoHealActionType actionType)
        Set the actionType property: Predefined action to be taken.
        Parameters:
        actionType - the actionType value to set.
        Returns:
        the AutoHealActions object itself.
      • customAction

        public AutoHealCustomAction customAction()
        Get the customAction property: Custom action to be taken.
        Returns:
        the customAction value.
      • withCustomAction

        public AutoHealActions withCustomAction​(AutoHealCustomAction customAction)
        Set the customAction property: Custom action to be taken.
        Parameters:
        customAction - the customAction value to set.
        Returns:
        the AutoHealActions object itself.
      • minProcessExecutionTime

        public String minProcessExecutionTime()
        Get the minProcessExecutionTime property: Minimum time the process must execute before taking the action.
        Returns:
        the minProcessExecutionTime value.
      • withMinProcessExecutionTime

        public AutoHealActions withMinProcessExecutionTime​(String minProcessExecutionTime)
        Set the minProcessExecutionTime property: Minimum time the process must execute before taking the action.
        Parameters:
        minProcessExecutionTime - the minProcessExecutionTime value to set.
        Returns:
        the AutoHealActions object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.