public class BooleanCommandOption extends CommandOption
| Constructor and Description |
|---|
BooleanCommandOption(String longKey)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanCommandOption |
process(String optionKey,
Object jsonObject,
List<String> command)
Processes a boolean command line option.
|
getLongKey, getValue, setValuepublic BooleanCommandOption(String longKey)
longKey - A String with the long key of the boolean command line option.public static BooleanCommandOption process(String optionKey, Object jsonObject, List<String> command)
optionKey - A String with the key of the option.jsonObject - An object with the JSON object that represents the value of the command line
option.command - A ListCopyright © 2000–2023 LOCKSS Program. All rights reserved.