org.crsh.lang.impl.java
Class BaseCommandMatch<T extends BaseCommand,C,P>

java.lang.Object
  extended by org.crsh.shell.impl.command.spi.CommandMatch<C,P>
      extended by org.crsh.lang.impl.java.BaseCommandMatch<T,C,P>
Direct Known Subclasses:
PipeCommandMatch, ProducerCommandMatch

abstract class BaseCommandMatch<T extends BaseCommand,C,P>
extends CommandMatch<C,P>

Author:
Julien Viet

Nested Class Summary
(package private)  class BaseCommandMatch.BaseInvoker
           
 
Field Summary
private  ClassShellCommand<T> baseShellCommand
          .
 
Constructor Summary
BaseCommandMatch(ClassShellCommand<T> baseShellCommand)
           
 
Method Summary
 CommandInvoker<C,P> getInvoker()
           
(package private) abstract  BaseCommandMatch.BaseInvoker getInvoker(T command)
           
 
Methods inherited from class org.crsh.shell.impl.command.spi.CommandMatch
getConsumedType, getProducedType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseShellCommand

private final ClassShellCommand<T extends BaseCommand> baseShellCommand
.

Constructor Detail

BaseCommandMatch

public BaseCommandMatch(ClassShellCommand<T> baseShellCommand)
Method Detail

getInvoker

public CommandInvoker<C,P> getInvoker()
                               throws CommandException
Specified by:
getInvoker in class CommandMatch<C,P>
Returns:
an invoker for this command.
Throws:
CommandException

getInvoker

abstract BaseCommandMatch.BaseInvoker getInvoker(T command)
                                          throws CommandException
Throws:
CommandException


Copyright © 2015 eXo Platform SAS. All Rights Reserved.