org.crsh.command
Class ClassCommand
java.lang.Object
groovy.lang.GroovyObjectSupport
org.crsh.command.GroovyCommand
org.crsh.command.BaseCommand<Void,Void>
org.crsh.command.ClassCommand
- All Implemented Interfaces:
- groovy.lang.GroovyObject, CommandInvoker<Void,Void>, ShellCommand
public abstract class ClassCommand
- extends BaseCommand<Void,Void>
The class command is a specialization of the BaseCommand
for simple command implementations.
- Version:
- $Revision$
- Author:
- Julien Viet
Methods inherited from class org.crsh.command.BaseCommand |
complete, createInvoker, describe, getConsumedType, getContext, getProducedType, getUnquoteArguments, invoke, readLine, readLine, setUnquoteArguments |
Methods inherited from class groovy.lang.GroovyObjectSupport |
getMetaClass, setMetaClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassCommand
protected ClassCommand()
execute
protected void execute(InvocationContext<Void,Void> context)
throws ScriptException
- Specified by:
execute
in class BaseCommand<Void,Void>
- Throws:
ScriptException
execute
protected abstract Object execute()
throws ScriptException
- Throws:
ScriptException
Copyright © 2011 eXo Platform SAS. All Rights Reserved.