Class RunCommandInputParameter


  • public final class RunCommandInputParameter
    extends Object
    Describes the properties of a run command parameter.
    • Constructor Detail

      • RunCommandInputParameter

        public RunCommandInputParameter()
    • Method Detail

      • name

        public String name()
        Get the name property: The run command parameter name.
        Returns:
        the name value.
      • withName

        public RunCommandInputParameter withName​(String name)
        Set the name property: The run command parameter name.
        Parameters:
        name - the name value to set.
        Returns:
        the RunCommandInputParameter object itself.
      • value

        public String value()
        Get the value property: The run command parameter value.
        Returns:
        the value value.
      • withValue

        public RunCommandInputParameter withValue​(String value)
        Set the value property: The run command parameter value.
        Parameters:
        value - the value value to set.
        Returns:
        the RunCommandInputParameter object itself.
      • validate

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