public class GroupAction extends Object implements CommandAction, OpaqueArguments
CommandAction
to switch groups.CommandAction.Result
Constructor and Description |
---|
GroupAction(String name) |
Modifier and Type | Method and Description |
---|---|
CommandAction |
clone() |
Object |
execute(CommandContext context)
Execute the command action.
|
jline.console.completer.Completer[] |
getCompleters() |
MessageSource |
getMessages() |
String |
getName() |
String |
getSimpleName() |
public GroupAction(String name)
public String getName()
getName
in interface CommandAction
public String getSimpleName()
getSimpleName
in interface CommandAction
public Object execute(CommandContext context) throws Exception
CommandAction
execute
in interface CommandAction
context
- The execution context of the command.Exception
- Command execution failed.public MessageSource getMessages()
getMessages
in interface CommandAction
public jline.console.completer.Completer[] getCompleters()
getCompleters
in interface CommandAction
public CommandAction clone()
clone
in interface CommandAction
clone
in class Object
Copyright © 2008-2012 Sonatype. All Rights Reserved.