Class CommandLineOption
- java.lang.Object
-
- us.codecraft.webmagic.scripts.config.CommandLineOption
-
public abstract class CommandLineOption extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandLineOption(char option)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
addParamOption(Params params, org.apache.commons.cli.CommandLine commandLine)
void
addParamOptionIfInCommandLine(Params params, org.apache.commons.cli.CommandLine commandLine)
static java.util.List<CommandLineOption>
getAllOptions()
-
-
-
Method Detail
-
addParamOption
protected abstract void addParamOption(Params params, org.apache.commons.cli.CommandLine commandLine)
-
addParamOptionIfInCommandLine
public void addParamOptionIfInCommandLine(Params params, org.apache.commons.cli.CommandLine commandLine)
-
getAllOptions
public static java.util.List<CommandLineOption> getAllOptions()
-
-