public class AO_TargetExt
extends AO_Target
Application option target with extended long description.
| Modifier and Type | Field and Description |
|---|---|
protected SvgTargets[] |
supportedTargets
The supported targets of the application.
|
| Constructor and Description |
|---|
AO_TargetExt(boolean required,
Character shortOption,
String longDescription,
SvgTargets[] supportedTargets)
Returns the new option.
|
| Modifier and Type | Method and Description |
|---|---|
protected static String |
buildLongDescr(String descr,
SvgTargets[] supportedTargets)
Creates a long description with supported targets.
|
SvgTargets[] |
getSupportedTargets()
Returns the supported targets.
|
SvgTargets |
getTarget()
Returns the target for a given set value.
|
getCliOption, getCliValue, getDefaultValue, getDescription, getDescriptionLong, getOptionKey, getPropertValue, inCli, setCliOption, setCliValue, setDefaultValue, setDescriptionLong, setPropertyValueprotected SvgTargets[] supportedTargets
The supported targets of the application.
public AO_TargetExt(boolean required,
Character shortOption,
String longDescription,
SvgTargets[] supportedTargets)
Returns the new option.
required - true if option is required, false of it is optionalshortOption - character for sort version of the optionlongDescription - option long descriptionsupportedTargets - list of supported targetsNullPointerException - - if description parameter is nullIllegalArgumentException - - if description parameter is emptyprotected static String buildLongDescr(String descr, SvgTargets[] supportedTargets)
Creates a long description with supported targets.
descr - original long descriptionsupportedTargets - targetsNullPointerException - if argument was nullpublic SvgTargets[] getSupportedTargets()
Returns the supported targets.
public SvgTargets getTarget()
Returns the target for a given set value.
Copyright © 2012–2017. All rights reserved.