org.fusesource.fabric.boot.commands.support
Class ContainerAwareProfileCompleter
java.lang.Object
org.fusesource.fabric.boot.commands.support.ContainerAwareProfileCompleter
- All Implemented Interfaces:
- org.apache.karaf.shell.console.Completer
public class ContainerAwareProfileCompleter
- extends java.lang.Object
- implements org.apache.karaf.shell.console.Completer
A completer that is aware of the target container.
The target container is being looked up from the command arguments.
If no container is found the current container is assumed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fabricService
protected FabricService fabricService
zooKeeper
protected IZKClient zooKeeper
ContainerAwareProfileCompleter
public ContainerAwareProfileCompleter(int containerArgumentIndex,
boolean assigned,
boolean unassigned)
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
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.