Class StringCommandOption
java.lang.Object
org.lockss.laaws.crawler.impl.pluggable.command.CommandOption
org.lockss.laaws.crawler.impl.pluggable.command.StringCommandOption
Representation of a string 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
-
StringCommandOption
Constructor.- Parameters:
longKey- A String with the long key of the string command line option.
-
-
Method Details
-
process
public static StringCommandOption process(String optionKey, Object jsonObject, List<String> command) Processes a string 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.
-