org.fusesource.patch.commands.support
Class PatchCompleter

java.lang.Object
  extended by org.fusesource.patch.commands.support.PatchCompleter
All Implemented Interfaces:
org.apache.karaf.shell.console.Completer

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


Constructor Summary
PatchCompleter()
           
 
Method Summary
 int complete(java.lang.String buffer, int cursor, java.util.List<java.lang.String> candidates)
           
 Service getService()
           
 boolean isInstalled()
           
 boolean isUninstalled()
           
 void setInstalled(boolean installed)
           
 void setService(Service service)
           
 void setUninstalled(boolean uninstalled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchCompleter

public PatchCompleter()
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

getService

public Service getService()

setService

public void setService(Service service)

isInstalled

public boolean isInstalled()

setInstalled

public void setInstalled(boolean installed)

isUninstalled

public boolean isUninstalled()

setUninstalled

public void setUninstalled(boolean uninstalled)


Copyright © 2012 FuseSource. All Rights Reserved.