Class InputVariable

    • Constructor Detail

      • InputVariable

        public InputVariable​(String name)
        Creates a new instance of InputVariable.
        Parameters:
        name - the name of the input variable
      • InputVariable

        public InputVariable​(String name,
                             String type,
                             @Nullable
                             String description,
                             @Nullable
                             String defaultValue,
                             boolean isRequired)
        Creates a new instance of InputVariable.
        Parameters:
        name - the name of the input variable
        type - the type of the input variable
        description - the description of the input variable
        defaultValue - the default value of the input variable
        isRequired - whether the input variable is required
    • Method Detail

      • getName

        public String getName()
        Gets the name of the input variable.
        Returns:
        the name of the input variable
      • getType

        public String getType()
        Gets the type of the input variable.
        Returns:
        the type of the input variable
      • getDescription

        @Nullable
        public String getDescription()
        Gets the description of the input variable.
        Returns:
        the description of the input variable
      • getDefaultValue

        @Nullable
        public String getDefaultValue()
        Gets the default value of the input variable.
        Returns:
        the default value of the input variable
      • isRequired

        public boolean isRequired()
        Gets whether the input variable is required.
        Returns:
        whether the input variable is required
      • getTypeClass

        public Class<?> getTypeClass()
        Gets the class of the type of the input variable.
        Returns:
        the class of the type of the input variable