org.apache.geronimo.commands
Class ListModulesCommand

java.lang.Object
  extended by org.apache.geronimo.gshell.command.CommandSupport
      extended by org.apache.geronimo.commands.ConnectCommand
          extended by org.apache.geronimo.commands.ListModulesCommand
All Implemented Interfaces:
org.apache.geronimo.gshell.command.Command

public class ListModulesCommand
extends ConnectCommand

List modules.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.geronimo.gshell.command.Command
org.apache.geronimo.gshell.command.Command.Result
 
Field Summary
 
Fields inherited from class org.apache.geronimo.commands.ConnectCommand
SERVER_CONNECTION
 
Fields inherited from class org.apache.geronimo.gshell.command.CommandSupport
context, io, log, variables
 
Fields inherited from interface org.apache.geronimo.gshell.command.Command
FAILURE, SUCCESS
 
Constructor Summary
ListModulesCommand()
           
 
Method Summary
protected  Object doExecute()
           
 boolean getAll()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
 boolean getStarted()
           
 boolean getStopped()
           
 List getTargets()
           
 Object invokeMethod(String name, Object args)
           
 boolean isAll()
           
 boolean isStarted()
           
 boolean isStopped()
           
 void setAll(boolean value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String name, Object value)
           
 void setStarted(boolean value)
           
 void setStopped(boolean value)
           
 void setTargets(List value)
           
 
Methods inherited from class org.apache.geronimo.commands.ConnectCommand
connect, disconnect, getHostname, getPassword, getPort, getPrompter, getSecure, getUsername, isConnected, isSecure, openConnection, setHostname, setPassword, setPort, setPrompter, setSecure, setUsername
 
Methods inherited from class org.apache.geronimo.gshell.command.CommandSupport
displayHelp, execute, getDescription, getId, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListModulesCommand

public ListModulesCommand()
Method Detail

getAll

public boolean getAll()

isAll

public boolean isAll()

setAll

public void setAll(boolean value)

getStopped

public boolean getStopped()

isStopped

public boolean isStopped()

setStopped

public void setStopped(boolean value)

getStarted

public boolean getStarted()

isStarted

public boolean isStarted()

setStarted

public void setStarted(boolean value)

getTargets

public List getTargets()

setTargets

public void setTargets(List value)

doExecute

protected Object doExecute()
                    throws Exception
Overrides:
doExecute in class ConnectCommand
Throws:
Exception

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Overrides:
getMetaClass in class ConnectCommand

setMetaClass

public void setMetaClass(groovy.lang.MetaClass metaClass)
Overrides:
setMetaClass in class ConnectCommand

invokeMethod

public Object invokeMethod(String name,
                           Object args)
Overrides:
invokeMethod in class ConnectCommand

getProperty

public Object getProperty(String name)
Overrides:
getProperty in class ConnectCommand

setProperty

public void setProperty(String name,
                        Object value)
Overrides:
setProperty in class ConnectCommand


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.