class ProducerCommandImpl<T extends BaseCommand,P> extends CommandImpl<T,Void,P>
CommandImpl.BaseInvoker| Modifier and Type | Field and Description |
|---|---|
private CommandInvoker<Instance<T>,?> |
invoker |
private Class<P> |
producedType |
| Constructor and Description |
|---|
ProducerCommandImpl(ShellCommandImpl<T> shellCommand,
CommandInvoker<Instance<T>,?> invoker,
Class<P> producedType) |
| Modifier and Type | Method and Description |
|---|---|
Class<Void> |
getConsumedType() |
(package private) CommandImpl.BaseInvoker |
getInvoker(T command) |
InvocationMatch<?> |
getMatch() |
Class<P> |
getProducedType() |
getInvokerprivate final CommandInvoker<Instance<T extends BaseCommand>,?> invoker
private final Class<P> producedType
public ProducerCommandImpl(ShellCommandImpl<T> shellCommand, CommandInvoker<Instance<T>,?> invoker, Class<P> producedType)
public InvocationMatch<?> getMatch()
public Class<P> getProducedType()
getProducedType in class Command<Void,P>public Class<Void> getConsumedType()
getConsumedType in class Command<Void,P>CommandImpl.BaseInvoker getInvoker(T command) throws CommandCreationException
getInvoker in class CommandImpl<T extends BaseCommand,Void,P>CommandCreationExceptionCopyright © 2014 eXo Platform SAS. All Rights Reserved.