org.apache.geronimo.commands
Class InstallLibraryCommand

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

public class InstallLibraryCommand
extends ConnectCommand

Installs a library file into repository.


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
InstallLibraryCommand()
           
 
Method Summary
protected  Object doExecute()
           
 String getGroupId()
           
 String getLibraryFile()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String name)
           
 Object invokeMethod(String name, Object args)
           
 void setGroupId(String value)
           
 void setLibraryFile(String value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(String name, Object 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

InstallLibraryCommand

public InstallLibraryCommand()
Method Detail

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String value)

getLibraryFile

public String getLibraryFile()

setLibraryFile

public void setLibraryFile(String 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.