public interface ConfigurationOption
| Modifier and Type | Method and Description |
|---|---|
Collection<?> |
getAvailableValues()
Returns an ordered list of available values.
|
Object |
getDefaultValue()
Default value for this option (if not set by user).
|
String |
getDescription()
Returns descriptive text that may be more lengthy and descriptive (for example, "Excludes the specified Java packages from Windup's scans").
|
String |
getLabel()
Return a short amount of descriptive text regarding the option (for example, "Exclude Packages").
|
String |
getName()
Returns the name of the parameter.
|
int |
getPriority()
Indicates the "priority" of this option.
|
Class<?> |
getType()
Returns the datatype for this Option (typically File, String, or List
|
InputType |
getUIType()
Returns a type that can be used as a hint to indicate what type of user interface should be presented for this option.
|
boolean |
isRequired()
Indicates whether or not this option must be specified.
|
ValidationResult |
validate(Object value)
Validate the user indicated value and return the result.
|
String getName()
String getLabel()
String getDescription()
Class<?> getType()
InputType getUIType()
boolean isRequired()
Object getDefaultValue()
Collection<?> getAvailableValues()
InputType.SELECT_MANY and InputType.SELECT_ONE.ValidationResult validate(Object value)
int getPriority()
Copyright © 2021 JBoss by Red Hat. All rights reserved.