org.crsh.lang.java
Class PipeCommandImpl<T extends BaseCommand,C,P,PC extends Pipe<C,P>>
java.lang.Object
org.crsh.shell.impl.command.spi.Command<C,P>
org.crsh.lang.java.CommandImpl<T,C,P>
org.crsh.lang.java.PipeCommandImpl<T,C,P,PC>
class PipeCommandImpl<T extends BaseCommand,C,P,PC extends Pipe<C,P>>
- extends CommandImpl<T,C,P>
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ret
final Type ret
- .
consumedType
final Class<C> consumedType
- .
producedType
final Class<P> producedType
- .
invoker
private final CommandInvoker<Instance<T extends BaseCommand>,PC extends Pipe<C,P>> invoker
PipeCommandImpl
public PipeCommandImpl(ShellCommandImpl<T> baseShellCommand,
CommandInvoker<Instance<T>,PC> invoker)
getMatch
public InvocationMatch<?> getMatch()
- Specified by:
getMatch in class Command<C,P>
- Returns:
- the match that created this command
getProducedType
public Class<P> getProducedType()
- Specified by:
getProducedType in class Command<C,P>
- Returns:
- the command produced type
getConsumedType
public Class<C> getConsumedType()
- Specified by:
getConsumedType in class Command<C,P>
- Returns:
- the command consumed type
getInvoker
CommandImpl.BaseInvoker getInvoker(T command)
throws CommandCreationException
- Specified by:
getInvoker in class CommandImpl<T extends BaseCommand,C,P>
- Throws:
CommandCreationException
Copyright © 2014 eXo Platform SAS. All Rights Reserved.