Class FloatOption
java.lang.Object
eu.svjatoslav.commons.cli_helper.parameter_parser.Option<Float,FloatOption>
eu.svjatoslav.commons.cli_helper.parameter_parser.parameter.FloatOption
-
Field Summary
Fields inherited from class eu.svjatoslav.commons.cli_helper.parameter_parser.Option
description, mandatory, parameters
-
Constructor Summary
-
Method Summary
Methods inherited from class eu.svjatoslav.commons.cli_helper.parameter_parser.Option
addAliases, addParameter, getAliasesAsString, getHelp, isMandatory, isPresent, matchesAlias, noMoreArguments, setMandatory, setPresent
-
Constructor Details
-
FloatOption
-
-
Method Details
-
describeFormat
- Specified by:
describeFormat
in classOption<Float,
FloatOption> - Returns:
- Single line parameter type description. For example: "file", "date", "integer", "regular expression", etc..
Note: for argument purpose description there is
Option.description
-
getValue
Description copied from class:Option
Returns the value of the object.- Specified by:
getValue
in classOption<Float,
FloatOption> - Returns:
- the value of the object.
-
isValid
- Specified by:
isValid
in classOption<Float,
FloatOption> - Parameters:
value
- value to validate- Returns:
true
if value is correct,false
otherwise.
-