Package org.jboss.windup.bootstrap.help
Class OptionDescription
- java.lang.Object
-
- org.jboss.windup.bootstrap.help.OptionDescription
-
public class OptionDescription extends Object
Represents a potential parameter to the Windup engine.- Author:
- Jesse Sightler
-
-
Constructor Summary
Constructors Constructor Description OptionDescription(String name, String description, String type, String uiType)Creates anOptionDescriptionwith the specified name, description, type, and UI Type (select one, select many, etc).OptionDescription(String name, String description, String type, String uiType, List<String> availableOptions, boolean required)Creates anOptionDescriptionwith the specified name, description, type, UI Type (select one, select many, etc), and available option list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAvailableOptions()Gets a list of all available options.StringgetDescription()Gets the description of the option.StringgetName()Gets the name of the option.StringgetType()Gets the type of the option.StringgetUiType()Gets the UI Type (SELECT_ONE, SELECT_MANY, etc).booleanisRequired()Tells if the option is required.
-
-
-
Constructor Detail
-
OptionDescription
public OptionDescription(String name, String description, String type, String uiType)
Creates anOptionDescriptionwith the specified name, description, type, and UI Type (select one, select many, etc). The available options is unbounded.
-
-
Method Detail
-
getName
public String getName()
Gets the name of the option.
-
getDescription
public String getDescription()
Gets the description of the option.
-
getType
public String getType()
Gets the type of the option.
-
getUiType
public String getUiType()
Gets the UI Type (SELECT_ONE, SELECT_MANY, etc).
-
isRequired
public boolean isRequired()
Tells if the option is required.
-
-