org.crsh.lang.impl.script
Class PipeLineFactory

java.lang.Object
  extended by org.crsh.lang.impl.script.PipeLineFactory

public class PipeLineFactory
extends Object

A factory for a pipeline.


Constructor Summary
PipeLineFactory(String line, PipeLineFactory next)
          Create a pipeline factory for the specified line and next factory
 
Method Summary
 CommandInvoker<Void,Object> create(ShellSession session)
           
 PipeLineFactory getLast()
           
 String getLine()
           
 PipeLineFactory getNext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipeLineFactory

public PipeLineFactory(String line,
                       PipeLineFactory next)
                throws CommandException
Create a pipeline factory for the specified line and next factory

Parameters:
line - the line
next - the next factory
Throws:
CommandException - when the line is not correct
Method Detail

getLine

public String getLine()

getNext

public PipeLineFactory getNext()

create

public CommandInvoker<Void,Object> create(ShellSession session)
                                   throws CommandNotFoundException,
                                          CommandException
Throws:
CommandNotFoundException
CommandException

getLast

public PipeLineFactory getLast()


Copyright © 2015 eXo Platform SAS. All Rights Reserved.