org.fcrepo.client.console
Class ConsoleCommand

java.lang.Object
  extended by org.fcrepo.client.console.ConsoleCommand

public class ConsoleCommand
extends Object

Author:
Chris Wilper

Constructor Summary
ConsoleCommand(Method method, String methodDescription, String[] paramNames, String[] paramDescriptions, String returnDescription)
           
 
Method Summary
 String getMethodDescription()
           
 String getName()
           
 String[] getParameterDescriptions()
           
 String[] getParameterNames()
           
 Class[] getParameterTypes()
           
 Class getReturnType()
           
 String getUnqualifiedName(Class cl)
           
 Object invoke(Object instance, Object[] paramValues)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsoleCommand

public ConsoleCommand(Method method,
                      String methodDescription,
                      String[] paramNames,
                      String[] paramDescriptions,
                      String returnDescription)
Method Detail

getName

public String getName()

getParameterTypes

public Class[] getParameterTypes()

getParameterNames

public String[] getParameterNames()

getParameterDescriptions

public String[] getParameterDescriptions()

getMethodDescription

public String getMethodDescription()

getReturnType

public Class getReturnType()

invoke

public Object invoke(Object instance,
                     Object[] paramValues)
              throws Throwable
Throws:
Throwable

toString

public String toString()
Overrides:
toString in class Object

getUnqualifiedName

public String getUnqualifiedName(Class cl)


Copyright © 2012 DuraSpace. All Rights Reserved.