org.crsh.lang.impl.script
Class PipeLineFactory
java.lang.Object
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
. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
p
private static final Pattern p
-
.
line
final String line
-
.
name
final String name
-
.
rest
final String rest
-
.
next
final PipeLineFactory next
-
.
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
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.