org.crsh.shell.impl.command.spi
Class CommandMatch<C,P>
java.lang.Object
org.crsh.shell.impl.command.spi.CommandMatch<C,P>
- Type Parameters:
C
- the consumed typeP
- the the produced type
- Direct Known Subclasses:
- BaseCommandMatch
public abstract class CommandMatch<C,P>
- extends Object
The command match that will be used in an command pipeline.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandMatch
public CommandMatch()
getInvoker
public abstract CommandInvoker<C,P> getInvoker()
throws CommandException
- Returns:
- an invoker for this command.
- Throws:
CommandException
getProducedType
public abstract Class<P> getProducedType()
- Returns:
- the command produced type
getConsumedType
public abstract Class<C> getConsumedType()
- Returns:
- the command consumed type
Copyright © 2015 eXo Platform SAS. All Rights Reserved.