com.buglabs.osgi.shell.commands.concierge
Class GC

java.lang.Object
  extended by com.buglabs.osgi.shell.pub.AbstractCommand
      extended by com.buglabs.osgi.shell.commands.concierge.GC
All Implemented Interfaces:
ICommand

public class GC
extends AbstractCommand

Command to call the garbage collector.


Field Summary
 
Fields inherited from class com.buglabs.osgi.shell.pub.AbstractCommand
arguments, context, err, outWriter
 
Constructor Summary
GC()
           
 
Method Summary
 void execute()
          Execute the command
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 
Methods inherited from class com.buglabs.osgi.shell.pub.AbstractCommand
getUsage, initialize, isValid, printError, println, setDefaultFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GC

public GC()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Description copied from interface: ICommand
Execute the command

Throws:
java.lang.Exception

getName

public java.lang.String getName()
Returns:
Name of command.

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ICommand
Overrides:
getDescription in class AbstractCommand
Returns:
A description of what the command does.