org.apache.karaf.admin.command.completers
Class InstanceCompleter

java.lang.Object
  extended by org.apache.karaf.admin.command.completers.InstanceCompleter
All Implemented Interfaces:
Completer

public class InstanceCompleter
extends java.lang.Object
implements Completer

jline.Completor for server instance names. Displays a list of configured server instances for the Admin commands.


Constructor Summary
InstanceCompleter()
           
 
Method Summary
 int complete(java.lang.String buffer, int cursor, java.util.List candidates)
           
 void setAdminService(AdminService adminService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceCompleter

public InstanceCompleter()
Method Detail

setAdminService

public void setAdminService(AdminService adminService)

complete

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


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.