org.fusesource.patch.commands
Class PatchCommandSupport
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.apache.karaf.shell.console.OsgiCommandSupport
org.fusesource.patch.commands.PatchCommandSupport
- All Implemented Interfaces:
- org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware
- Direct Known Subclasses:
- Add, Install, List, Rollback, Simulate
public abstract class PatchCommandSupport
- extends org.apache.karaf.shell.console.OsgiCommandSupport
| Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport |
bundleContext, usedReferences |
| Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
| Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport |
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
service
protected Service service
PatchCommandSupport
public PatchCommandSupport()
getService
public Service getService()
setService
public void setService(Service service)
doExecute
protected java.lang.Object doExecute()
throws java.lang.Exception
- Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
- Throws:
java.lang.Exception
doExecute
protected abstract void doExecute(Service service)
throws java.lang.Exception
- Throws:
java.lang.Exception
display
protected void display(Result result)
display
protected void display(java.lang.Iterable<Patch> patches,
boolean listBundles)
Copyright © 2012 FuseSource. All Rights Reserved.