public abstract class CommandInvoker<C,V> extends Object
Modifier and Type | Field and Description |
---|---|
private InvocationMatch<C> |
match
.
|
Modifier | Constructor and Description |
---|---|
protected |
CommandInvoker(InvocationMatch<C> match) |
Modifier and Type | Method and Description |
---|---|
abstract Type |
getGenericReturnType() |
InvocationMatch<C> |
getMatch() |
abstract Class<V> |
getReturnType() |
abstract V |
invoke(C command) |
private final InvocationMatch<C> match
protected CommandInvoker(InvocationMatch<C> match)
public abstract Class<V> getReturnType()
public abstract Type getGenericReturnType()
public final InvocationMatch<C> getMatch()
public abstract V invoke(C command) throws InvocationException, SyntaxException
InvocationException
SyntaxException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.