Package org.jboss.windup.config
Class AnalyzeKnownLibrariesOption
- java.lang.Object
-
- org.jboss.windup.config.AbstractConfigurationOption
-
- org.jboss.windup.config.AnalyzeKnownLibrariesOption
-
- All Implemented Interfaces:
ConfigurationOption
public class AnalyzeKnownLibrariesOption extends AbstractConfigurationOption
Option to force the analysis of already known libraries. What a "known" library is will depend on the particular implementation.- Author:
- Juan Manuel Leflet Estrada
-
-
Constructor Summary
Constructors Constructor Description AnalyzeKnownLibrariesOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDefaultValue()Default value for this option (if not set by user).StringgetDescription()Returns descriptive text that may be more lengthy and descriptive (for example, "Excludes the specified Java packages from Windup's scans").StringgetLabel()Return a short amount of descriptive text regarding the option (for example, "Exclude Packages").StringgetName()Returns the name of the parameter.Class<?>getType()Returns the datatype for this Option (typically File, String, or List). InputTypegetUIType()Returns a type that can be used as a hint to indicate what type of user interface should be presented for this option.booleanisRequired()Indicates whether or not this option must be specified.ValidationResultvalidate(Object value)Validate the user indicated value and return the result.-
Methods inherited from class org.jboss.windup.config.AbstractConfigurationOption
getAvailableValues, getPriority, setAvailableValues
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ConfigurationOptionReturns the name of the parameter. This should be a short name that is suitable for use in a command line parameter (for example, "packages" or "excludePackages").
-
getLabel
public String getLabel()
Description copied from interface:ConfigurationOptionReturn a short amount of descriptive text regarding the option (for example, "Exclude Packages").
-
getDescription
public String getDescription()
Description copied from interface:ConfigurationOptionReturns descriptive text that may be more lengthy and descriptive (for example, "Excludes the specified Java packages from Windup's scans").
-
getType
public Class<?> getType()
Description copied from interface:ConfigurationOptionReturns the datatype for this Option (typically File, String, or List).
-
getUIType
public InputType getUIType()
Description copied from interface:ConfigurationOptionReturns a type that can be used as a hint to indicate what type of user interface should be presented for this option.
-
isRequired
public boolean isRequired()
Description copied from interface:ConfigurationOptionIndicates whether or not this option must be specified.
-
getDefaultValue
public Object getDefaultValue()
Description copied from interface:ConfigurationOptionDefault value for this option (if not set by user).- Specified by:
getDefaultValuein interfaceConfigurationOption- Overrides:
getDefaultValuein classAbstractConfigurationOption
-
validate
public ValidationResult validate(Object value)
Description copied from interface:ConfigurationOptionValidate the user indicated value and return the result.
-
-