Class SetValue


  • public final class SetValue
    extends Object
    The properties of a overridable value that can be passed to a task template.
    • Constructor Detail

      • SetValue

        public SetValue()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the overridable value.
        Returns:
        the name value.
      • withName

        public SetValue withName​(String name)
        Set the name property: The name of the overridable value.
        Parameters:
        name - the name value to set.
        Returns:
        the SetValue object itself.
      • value

        public String value()
        Get the value property: The overridable value.
        Returns:
        the value value.
      • withValue

        public SetValue withValue​(String value)
        Set the value property: The overridable value.
        Parameters:
        value - the value value to set.
        Returns:
        the SetValue object itself.
      • isSecret

        public Boolean isSecret()
        Get the isSecret property: Flag to indicate whether the value represents a secret or not.
        Returns:
        the isSecret value.
      • withIsSecret

        public SetValue withIsSecret​(Boolean isSecret)
        Set the isSecret property: Flag to indicate whether the value represents a secret or not.
        Parameters:
        isSecret - the isSecret value to set.
        Returns:
        the SetValue object itself.
      • validate

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