public class AbstractShellCommand extends Object implements SkbShellCommand
SkbShellFactory to create a new object.| Modifier and Type | Method and Description |
|---|---|
String |
addedHelp()
Returns additional text for an auto-generated help for the argument.
|
SkbShellArgument[] |
getArguments()
Returns the arguments of this command.
|
SkbShellCommandCategory |
getCategory()
Returns a category the command belongs to, useful for grouping commands for example in help screens.
|
String |
getCommand()
Returns the shell command.
|
String |
getDescription() |
String |
toString() |
public String getCommand()
SkbShellCommandgetCommand in interface SkbShellCommandpublic SkbShellArgument[] getArguments()
SkbShellCommandgetArguments in interface SkbShellCommandpublic String getDescription()
getDescription in interface HasDescriptionpublic SkbShellCommandCategory getCategory()
SkbShellCommandgetCategory in interface SkbShellCommandpublic String addedHelp()
SkbShellCommandaddedHelp in interface SkbShellCommandCopyright © 2010–2017. All rights reserved.