Class CommandOption
java.lang.Object
org.lockss.laaws.crawler.impl.pluggable.command.CommandOption
- Direct Known Subclasses:
BooleanCommandOption,FileCommandOption,ListStringCommandOption,StringCommandOption
Base class for all command line options
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CommandOption
Constructor.- Parameters:
longKey- A String with the long key of the command line option.
-
-
Method Details
-
getLongKey
Provides the long key of the command line option.- Returns:
- a String with the long key of the command line option.
-
getValue
Provides the value of the command line option.- Returns:
- a String with the value of the command line option.
-
setValue
Saves the value of the command line option.- Parameters:
value- A String with the value of the command line option.- Returns:
- a String with the value of the command line option.
-