org.ow2.jonas.addon.commands
Class ListAddonCommand

java.lang.Object
  extended by org.ow2.jonas.addon.commands.ListAddonCommand
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action

public class ListAddonCommand
extends Object
implements org.apache.felix.gogo.commands.Action

Shelbie Command which allow to show the list of addons

Author:
Jeremy Cazaux

Field Summary
static String EOL
          Eol
 
Constructor Summary
ListAddonCommand()
           
 
Method Summary
 Object execute(org.apache.felix.service.command.CommandSession commandSession)
          
static String getStateAsString(Integer state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOL

public static final String EOL
Eol

See Also:
Constant Field Values
Constructor Detail

ListAddonCommand

public ListAddonCommand()
Method Detail

execute

public Object execute(org.apache.felix.service.command.CommandSession commandSession)
               throws Exception

Specified by:
execute in interface org.apache.felix.gogo.commands.Action
Throws:
Exception

getStateAsString

public static String getStateAsString(Integer state)
Parameters:
state - The state of an addon as an Integer
Returns:
the state as a String


Copyright © 2013 OW2 Consortium. All Rights Reserved.