class ProducerCommandMatch<T extends BaseCommand,P> extends BaseCommandMatch<T,Void,P>
BaseCommandMatch.BaseInvoker| Modifier and Type | Field and Description |
|---|---|
private CommandInvoker<Instance<T>,?> |
invoker
.
|
private String |
name
.
|
private Class<P> |
producedType
.
|
| Constructor and Description |
|---|
ProducerCommandMatch(ClassShellCommand<T> shellCommand,
CommandInvoker<Instance<T>,?> invoker,
Class<P> producedType) |
| Modifier and Type | Method and Description |
|---|---|
Class<Void> |
getConsumedType() |
(package private) BaseCommandMatch.BaseInvoker |
getInvoker(T command) |
Class<P> |
getProducedType() |
getInvokerprivate final CommandInvoker<Instance<T extends BaseCommand>,?> invoker
private final Class<P> producedType
public ProducerCommandMatch(ClassShellCommand<T> shellCommand, CommandInvoker<Instance<T>,?> invoker, Class<P> producedType)
public Class<P> getProducedType()
getProducedType in class CommandMatch<Void,P>public Class<Void> getConsumedType()
getConsumedType in class CommandMatch<Void,P>BaseCommandMatch.BaseInvoker getInvoker(T command) throws CommandException
getInvoker in class BaseCommandMatch<T extends BaseCommand,Void,P>CommandExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.