Class BooleanCommandOption
java.lang.Object
org.lockss.laaws.crawler.impl.pluggable.command.CommandOption
org.lockss.laaws.crawler.impl.pluggable.command.BooleanCommandOption
Representation of a boolean command line option.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.lockss.laaws.crawler.impl.pluggable.command.CommandOption
getLongKey, getValue, setValue
-
Constructor Details
-
BooleanCommandOption
Constructor.- Parameters:
longKey- A String with the long key of the boolean command line option.
-
-
Method Details
-
process
public static BooleanCommandOption process(String optionKey, Object jsonObject, List<String> command) Processes a boolean command line option.- Parameters:
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 Listwhere to add this command line option, if appropriate. - Returns:
- a BooleanCommandOption with this object.
-