Class AutoHealCustomAction


  • public final class AutoHealCustomAction
    extends Object
    Custom action to be executed when an auto heal rule is triggered.
    • Constructor Detail

      • AutoHealCustomAction

        public AutoHealCustomAction()
    • Method Detail

      • exe

        public String exe()
        Get the exe property: Executable to be run.
        Returns:
        the exe value.
      • withExe

        public AutoHealCustomAction withExe​(String exe)
        Set the exe property: Executable to be run.
        Parameters:
        exe - the exe value to set.
        Returns:
        the AutoHealCustomAction object itself.
      • parameters

        public String parameters()
        Get the parameters property: Parameters for the executable.
        Returns:
        the parameters value.
      • withParameters

        public AutoHealCustomAction withParameters​(String parameters)
        Set the parameters property: Parameters for the executable.
        Parameters:
        parameters - the parameters value to set.
        Returns:
        the AutoHealCustomAction object itself.
      • validate

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