org.apache.karaf.shell.log
Class ClearLog

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.apache.karaf.shell.log.ClearLog
All Implemented Interfaces:
Action, BundleContextAware

public class ClearLog
extends OsgiCommandSupport

Clear the last log entries.


Field Summary
protected  LruList events
           
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
ClearLog()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
 LruList getEvents()
           
 void setEvents(LruList events)
           
 
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
 

Field Detail

events

protected LruList events
Constructor Detail

ClearLog

public ClearLog()
Method Detail

getEvents

public LruList getEvents()

setEvents

public void setEvents(LruList events)

doExecute

protected java.lang.Object doExecute()
                              throws Exception
Specified by:
doExecute in class AbstractAction
Throws:
Exception


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.