public class Starter extends Command
Constructor and Description |
---|
Starter() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute()
Each subclass should implement an execute methode to implement its behaviour.
|
protected String |
getDescription()
Returns the description (used for the usage) of the command.
|
protected static void |
handleException(Exception ex,
ConsoleLogAdapter logAdapter) |
static void |
main(String[] args) |
void |
printUsage()
Prints the usage of the command.
|
protected void |
validate(org.kohsuke.args4j.CmdLineParser parser) |
public static void main(String[] args)
protected static void handleException(Exception ex, ConsoleLogAdapter logAdapter)
protected void execute() throws CmdRunException, org.kohsuke.args4j.CmdLineException
Command
execute
in class Command
org.kohsuke.args4j.CmdLineException
CmdRunException
protected void validate(org.kohsuke.args4j.CmdLineParser parser) throws org.kohsuke.args4j.CmdLineException
protected String getDescription()
Command
getDescription
in class Command
public void printUsage()
Command
printUsage
in class Command
Copyright © 2021. All rights reserved.