org.crsh.jcr.command
Class JCRCommand
java.lang.Object
groovy.lang.GroovyObjectSupport
org.crsh.command.GroovyCommand
org.crsh.command.CRaSHCommand
org.crsh.jcr.command.JCRCommand
- All Implemented Interfaces:
- groovy.lang.GroovyObject, Completer, ShellCommand, PathCompleter
public abstract class JCRCommand
- extends CRaSHCommand
- implements PathCompleter
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 |
JCRCommand
protected JCRCommand()
throws IntrospectionException
- Throws:
IntrospectionException
complete
public Completion complete(ParameterDescriptor parameter,
String prefix)
throws Exception
- Description copied from interface:
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.
- Specified by:
complete
in interface Completer
- Parameters:
parameter
- the completed parameterprefix
- the prefix to complete
- Returns:
- the possible suffix map
- Throws:
Exception
- any exception that would prevent completion to perform correctly
Copyright © 2014 eXo Platform SAS. All Rights Reserved.