Class InputWithOptions


  • public class InputWithOptions
    extends Input
    Represents a IRIDA Workflow Pipeline Parameter that has specific options to be rendered within the UI.
    • Constructor Summary

      Constructors 
      Constructor Description
      InputWithOptions​(java.lang.String name, java.lang.String label, java.lang.String defaultValue, java.util.List<SelectOption> options, java.lang.Boolean required)  
    • Constructor Detail

      • InputWithOptions

        public InputWithOptions​(java.lang.String name,
                                java.lang.String label,
                                java.lang.String defaultValue,
                                java.util.List<SelectOption> options,
                                java.lang.Boolean required)
    • Method Detail

      • getOptions

        public java.util.List<SelectOption> getOptions()
      • getRequired

        public java.lang.Boolean getRequired()
      • getValue

        public java.lang.String getValue()
        Getter for the value, if there is no value, the value of the first option is returned.
        Overrides:
        getValue in class Input
        Returns:
        the default value for the parameter.