public class GroovyScriptShellCommand<T extends GroovyScriptCommand> extends Command<org.crsh.cli.impl.lang.Instance<T>>
| Constructor and Description |
|---|
GroovyScriptShellCommand(Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected Completer |
getCompleter(RuntimeContext context)
Returns a completer for this command.
|
CommandDescriptor<org.crsh.cli.impl.lang.Instance<T>> |
getDescriptor()
Returns the command descriptor.
|
protected CommandMatch<?,?> |
resolve(org.crsh.cli.impl.invocation.InvocationMatch<org.crsh.cli.impl.lang.Instance<T>> match)
Resolve the real match for a specified invocation match.
|
complete, describe, describe, resolveCommand, resolveCommand, resolveInvokerpublic GroovyScriptShellCommand(Class<T> clazz) throws org.crsh.cli.impl.descriptor.IntrospectionException
public CommandDescriptor<org.crsh.cli.impl.lang.Instance<T>> getDescriptor()
CommandgetDescriptor in class Command<org.crsh.cli.impl.lang.Instance<T extends GroovyScriptCommand>>protected CommandMatch<?,?> resolve(org.crsh.cli.impl.invocation.InvocationMatch<org.crsh.cli.impl.lang.Instance<T>> match)
Commandresolve in class Command<org.crsh.cli.impl.lang.Instance<T extends GroovyScriptCommand>>match - the matchprotected Completer getCompleter(RuntimeContext context) throws CommandException
CommandgetCompleter in class Command<org.crsh.cli.impl.lang.Instance<T extends GroovyScriptCommand>>context - the related runtime contextCommandException - anything that would prevent completion to happenCopyright © 2015 eXo Platform SAS. All Rights Reserved.