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.


Field Summary
(package private)  String line
          .
(package private)  String name
          .
(package private)  PipeLineFactory next
          .
private static Pattern p
          .
(package private)  String rest
          .
 
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
 

Field Detail

p

private static final Pattern p
.


line

final String line
.


name

final String name
.


rest

final String rest
.


next

final PipeLineFactory next
.

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.