org.crsh.command
Interface ShellCommand<C,P>

All Known Implementing Classes:
BaseCommand, ClassCommand, GroovyScriptCommand

public interface ShellCommand<C,P>

Version:
$Revision$
Author:
Julien Viet

Method Summary
 void execute(CommandContext<C,P> context, java.lang.String... args)
           
 java.lang.Class<C> getConsumedType()
           
 java.lang.Class<P> getProducedType()
           
 

Method Detail

execute

void execute(CommandContext<C,P> context,
             java.lang.String... args)
             throws ScriptException
Throws:
ScriptException

getProducedType

java.lang.Class<P> getProducedType()

getConsumedType

java.lang.Class<C> getConsumedType()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.