com.buglabs.osgi.shell.commands.core
Class Bundles

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

public class Bundles
extends AbstractCommand


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

Constructor Detail

Bundles

public Bundles()
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.

getUsage

public java.lang.String getUsage()
Specified by:
getUsage in interface ICommand
Overrides:
getUsage in class AbstractCommand
Returns:
A short textual description of command usage.

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.

isValid

public boolean isValid()
Specified by:
isValid in interface ICommand
Overrides:
isValid in class AbstractCommand
Returns:
true if the command and parameters are valid.