org.crsh.cli.impl.invocation
Class CommandInvoker<C,V>
java.lang.Object
org.crsh.cli.impl.invocation.CommandInvoker<C,V>
- Direct Known Subclasses:
- ObjectCommandInvoker
public abstract class CommandInvoker<C,V>
- extends Object
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
match
private final InvocationMatch<C> match
- .
CommandInvoker
protected CommandInvoker(InvocationMatch<C> match)
getReturnType
public abstract Class<V> getReturnType()
getGenericReturnType
public abstract Type getGenericReturnType()
getMatch
public final InvocationMatch<C> getMatch()
invoke
public abstract V invoke(C command)
throws InvocationException,
SyntaxException
- Throws:
InvocationException
SyntaxException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.