Package com.hexagonkt.args
Class Flag
-
-
Method Summary
Modifier and Type Method Description BooleangetOptional()RegexgetRegex()KClass<Boolean>getType()Set<String>getNames()StringgetDescription()BooleangetMultiple()StringgetTag()TODO To group properties (for listing or alternatives). List<Boolean>getValues()Property<Boolean>addValues(Property<?> value)FlagaddValue(String value)-
-
Method Detail
-
getOptional
Boolean getOptional()
-
getRegex
Regex getRegex()
-
getType
KClass<Boolean> getType()
-
getNames
Set<String> getNames()
-
getDescription
String getDescription()
-
getMultiple
Boolean getMultiple()
-
getTag
String getTag()
TODO To group properties (for listing or alternatives). I.e.: '|alternate|' for grouping options that are exclusive or 'Common Options' to group in help
-
getValues
List<Boolean> getValues()
-
-
-
-