Class ExtensibleChoiceParameterDefinition

    • Constructor Detail

      • ExtensibleChoiceParameterDefinition

        @DataBoundConstructor
        public ExtensibleChoiceParameterDefinition​(String name,
                                                   ChoiceListProvider choiceListProvider,
                                                   boolean editable,
                                                   String description)
        Constructor instantiating with parameters in the configuration page. When instantiating from the saved configuration, the object is directly serialized with XStream, and no constructor is used.
        Parameters:
        name - the name of this parameter (used as a variable name).
        choiceListProvider - the choice provider
        editable - whether this parameter can be a value not in choices.
        description - the description of this parameter. Used only for the convenience of users.