- java.lang.Object
-
- io.github.mmm.nls.cli.property.AbstractCliProperty<LocalDate>
-
- io.github.mmm.nls.cli.property.CliLocalDateProperty
-
- All Implemented Interfaces:
CliProperty<LocalDate>
public class CliLocalDateProperty extends AbstractCliProperty<LocalDate>
Implementation ofCliProperty
forLocalDate
.
-
-
Constructor Summary
Constructors Constructor Description CliLocalDateProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliLocalDateProperty(Localizable help, LocalDate defaultValue, String... names)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDate
get()
Class<LocalDate>
getValueClass()
void
set(LocalDate value)
void
setFromString(String value)
-
Methods inherited from class io.github.mmm.nls.cli.property.AbstractCliProperty
getHelp, getNames, isMandatory, isOption, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.nls.cli.property.CliProperty
getAsString, getName, isEmpty, isValid, validate
-
-
-
-
Constructor Detail
-
CliLocalDateProperty
public CliLocalDateProperty(Localizable help, boolean mandatory, String... names)
The constructor.- Parameters:
help
- thehelp message
.mandatory
- themandatory
flag.names
- thenames
.
-
CliLocalDateProperty
public CliLocalDateProperty(Localizable help, LocalDate defaultValue, String... names)
The constructor.- Parameters:
help
- thehelp message
.defaultValue
- the initial defaultvalue
.names
- thenames
.
-
-