org.apache.whirr.karaf.command.completers
Class RoleCompleter

java.lang.Object
  extended by org.apache.whirr.karaf.command.completers.RoleCompleter
All Implemented Interfaces:
org.apache.karaf.shell.console.Completer

public class RoleCompleter
extends Object
implements org.apache.karaf.shell.console.Completer


Field Summary
protected  org.apache.karaf.shell.console.completer.StringsCompleter delegate
           
 
Constructor Summary
RoleCompleter()
           
 
Method Summary
 int complete(String buffer, int cursor, List<String> candidates)
           
 List<ClusterActionHandler> getClusterActionHandlers()
           
 Set<String> getRoles()
           
 void setClusterActionHandlers(List<ClusterActionHandler> clusterActionHandlers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected final org.apache.karaf.shell.console.completer.StringsCompleter delegate
Constructor Detail

RoleCompleter

public RoleCompleter()
Method Detail

complete

public int complete(String buffer,
                    int cursor,
                    List<String> candidates)
Specified by:
complete in interface org.apache.karaf.shell.console.Completer

getRoles

public Set<String> getRoles()

getClusterActionHandlers

public List<ClusterActionHandler> getClusterActionHandlers()

setClusterActionHandlers

public void setClusterActionHandlers(List<ClusterActionHandler> clusterActionHandlers)


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.