Package com.hexagonkt.args
Interface Property
-
- All Implemented Interfaces:
public interface Property<T extends Object>TODO
Properties passed by the command line.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classProperty.Companion
-
Method Summary
Modifier and Type Method Description abstract Property<T>addValues(Property<?> value)abstract Property<T>addValue(String value)StringtypeText()Unitcheck(String component, Regex namePattern)abstract KClass<T>getType()abstract Set<String>getNames()abstract StringgetDescription()abstract RegexgetRegex()abstract BooleangetOptional()abstract BooleangetMultiple()abstract StringgetTag()TODO To group properties (for listing or alternatives). abstract List<T>getValues()-
-
Method Detail
-
typeText
String typeText()
-
check
Unit check(String component, Regex namePattern)
-
getNames
abstract Set<String> getNames()
-
getDescription
abstract String getDescription()
-
getRegex
abstract Regex getRegex()
-
getOptional
abstract Boolean getOptional()
-
getMultiple
abstract Boolean getMultiple()
-
getTag
abstract 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
-
-
-
-