|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport org.crsh.command.GroovyCommand org.crsh.command.CRaSHCommand org.crsh.jcr.command.JCRCommand
public abstract class JCRCommand
Field Summary |
---|
Fields inherited from class org.crsh.command.CRaSHCommand |
---|
unmatched |
Fields inherited from class org.crsh.command.GroovyCommand |
---|
context, out |
Constructor Summary | |
---|---|
protected |
JCRCommand() |
Method Summary | |
---|---|
Completion |
complete(ParameterDescriptor parameter, String prefix) Query the completer for a set of completions for the given prefix. |
Methods inherited from class org.crsh.command.CRaSHCommand |
---|
complete, describe, execute, getDescriptor, getUnmatched, readLine, readLine, resolveInvoker, resolveInvoker, resolveInvoker |
Methods inherited from class org.crsh.command.GroovyCommand |
---|
getProperty, invokeMethod, peekContext, popContext, pushContext, setProperty |
Methods inherited from class groovy.lang.GroovyObjectSupport |
---|
getMetaClass, setMetaClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected JCRCommand() throws IntrospectionException
IntrospectionException
Method Detail |
---|
public Completion complete(ParameterDescriptor parameter, String prefix) throws Exception
Completer
Query the completer for a set of completions for the given prefix. The returned Completion
object provides the possible completion matching the prefix argument.
complete
in interface Completer
parameter
- the completed parameterprefix
- the prefix to completeException
- any exception that would prevent completion to perform correctly
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |