Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.shell.commands
Class CompositeCompletor

java.lang.Object
  extended by org.nuxeo.ecm.shell.commands.CompositeCompletor
All Implemented Interfaces:
jline.Completor

public class CompositeCompletor
extends java.lang.Object
implements jline.Completor

Author:
Bogdan Stefanescu

Constructor Summary
CompositeCompletor(InteractiveCommand cmd)
           
 
Method Summary
 int complete(java.lang.String buffer, int cursor, java.util.List candidates)
           
 void removeCompletor(java.lang.String name)
           
 void setCompletor(java.lang.String name, jline.Completor completor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeCompletor

public CompositeCompletor(InteractiveCommand cmd)
Method Detail

setCompletor

public void setCompletor(java.lang.String name,
                         jline.Completor completor)

removeCompletor

public void removeCompletor(java.lang.String name)

complete

public int complete(java.lang.String buffer,
                    int cursor,
                    java.util.List candidates)
Specified by:
complete in interface jline.Completor

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.