- java.lang.Object
-
- io.github.mmm.nls.cli.property.AbstractCliProperty<LocalTime>
-
- io.github.mmm.nls.cli.property.CliLocalTimeProperty
-
- All Implemented Interfaces:
CliProperty<LocalTime>
public class CliLocalTimeProperty extends AbstractCliProperty<LocalTime>
Implementation ofCliProperty
forLocalTime
.
-
-
Constructor Summary
Constructors Constructor Description CliLocalTimeProperty(Localizable help, boolean mandatory, String... names)
The constructor.CliLocalTimeProperty(Localizable help, LocalTime defaultValue, String... names)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalTime
get()
Class<LocalTime>
getValueClass()
void
set(LocalTime 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
-
CliLocalTimeProperty
public CliLocalTimeProperty(Localizable help, boolean mandatory, String... names)
The constructor.- Parameters:
help
- thehelp message
.mandatory
- themandatory
flag.names
- thenames
.
-
CliLocalTimeProperty
public CliLocalTimeProperty(Localizable help, LocalTime defaultValue, String... names)
The constructor.- Parameters:
help
- thehelp message
.defaultValue
- the initial defaultvalue
.names
- thenames
.
-
-