java.lang.Object
org.noise_planet.noisemodelling.webserver.script.ScriptInput

public class ScriptInput extends Object
Represents an input configuration for a script. This class is designed to encapsulate the metadata and properties that define an input to a script, such as its identifier, title, description, type, and whether it is optional.
  • Field Details

    • id

      public String id
    • title

      public String title
    • description

      public String description
    • type

      public Class<?> type
    • minOccurs

      public int minOccurs
      Minimum occurrences of this input. A value of 0 indicates that the input is optional.
    • maxOccurs

      public int maxOccurs
      Maximum occurrences of this input.
    • defaultValue

      public Object defaultValue
      Default value for this input.
    • allowedValues

      public Set<String> allowedValues
      If at least one element, restrict allowed values, only for Strings
  • Constructor Details

    • ScriptInput

      public ScriptInput()