org.fusesource.fabric.boot.commands.support
Class ContainerCompleter

java.lang.Object
  extended by org.fusesource.fabric.boot.commands.support.ContainerCompleter
All Implemented Interfaces:
org.apache.karaf.shell.console.Completer

public class ContainerCompleter
extends java.lang.Object
implements org.apache.karaf.shell.console.Completer


Field Summary
protected  FabricService fabricService
           
protected  IZKClient zooKeeper
           
 
Constructor Summary
ContainerCompleter()
           
 
Method Summary
 boolean apply(Container container)
           
 int complete(java.lang.String buffer, int cursor, java.util.List<java.lang.String> candidates)
           
 FabricService getFabricService()
           
 IZKClient getZooKeeper()
           
 void setFabricService(FabricService fabricService)
           
 void setZooKeeper(IZKClient zooKeeper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fabricService

protected FabricService fabricService

zooKeeper

protected IZKClient zooKeeper
Constructor Detail

ContainerCompleter

public ContainerCompleter()
Method Detail

complete

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

apply

public boolean apply(Container container)

getFabricService

public FabricService getFabricService()

setFabricService

public void setFabricService(FabricService fabricService)

getZooKeeper

public IZKClient getZooKeeper()

setZooKeeper

public void setZooKeeper(IZKClient zooKeeper)


Copyright © 2014 Red Hat. All Rights Reserved.