org.nuxeo.ecm.shell.commands
Class CompositeCompletor
java.lang.Object
org.nuxeo.ecm.shell.commands.CompositeCompletor
- All Implemented Interfaces:
- jline.Completor
public class CompositeCompletor
- extends Object
- implements jline.Completor
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeCompletor
public CompositeCompletor(InteractiveCommand cmd)
setCompletor
public void setCompletor(String name,
jline.Completor completor)
removeCompletor
public void removeCompletor(String name)
complete
public int complete(String buffer,
int cursor,
List candidates)
- Specified by:
complete
in interface jline.Completor
Copyright © 2010 Nuxeo SAS. All Rights Reserved.