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

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

public class Package
extends AbstractCommand

A command to retrieve package metadata from OSGi runtime.


Field Summary
 
Fields inherited from class com.buglabs.osgi.shell.pub.AbstractCommand
arguments, context, err, outWriter
 
Constructor Summary
Package()
           
 
Method Summary
 void execute()
           
 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

Package

public Package()
Method Detail

execute

public void execute()
             throws java.lang.Exception
Throws:
java.lang.Exception

getName

public java.lang.String getName()

getUsage

public java.lang.String getUsage()
Specified by:
getUsage in interface ICommand
Overrides:
getUsage in class AbstractCommand

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ICommand
Overrides:
getDescription in class AbstractCommand

isValid

public boolean isValid()
Specified by:
isValid in interface ICommand
Overrides:
isValid in class AbstractCommand