Class PromptTextParameter

    • Constructor Detail

      • PromptTextParameter

        public PromptTextParameter()
    • Method Detail

      • getDescription

        public String getDescription()
        Gets the localized description of this input parameter. Can be empty when not description is available.
        Returns:
        The localized description of this input parameter.
      • setDescription

        public void setDescription​(String description)
        Sets the localized description of this input parameter. Can be empty when no description is available.
        Parameters:
        description - The localized description of this input parameter.
      • getLabel

        public String getLabel()
        Gets the localized description of this input parameter. Can be empty when not description is available.
        Returns:
        The localized description of this input parameter.
      • setLabel

        public void setLabel​(String label)
        Sets the localized description of this input parameter. Can be empty when no description is available.
        Parameters:
        label - The localized description of this input parameter.
      • getName

        public String getName()
        Gets the technical name of this input parameter. This is used to identify the input parameter in the prompt.
        Returns:
        The name of this input parameter.
      • setName

        public void setName​(String name)
        Sets the technical name of this input parameter. This is used to identify the input parameter in the prompt.
        Parameters:
        name - The name of this input parameter.
      • isRequired

        public boolean isRequired()
        Gets whether this input parameter is required. If true, the user must provide a value for this input parameter.
        Returns:
        True if this input parameter is required, false otherwise.
      • setRequired

        public void setRequired​(boolean required)
        Sets whether this input parameter is required. If true, the user must provide a value for this input parameter.
        Parameters:
        required - True if this input parameter is required, false otherwise.