org.ow2.shelbie.testing
Class ActionContainer
java.lang.Object
org.ow2.shelbie.testing.ActionContainer
public class ActionContainer
- extends Object
Created with IntelliJ IDEA.
User: guillaume
Date: 13/02/13
Time: 10:30
To change this template use File | Settings | File Templates.
|
Constructor Summary |
ActionContainer(org.apache.felix.gogo.commands.Action action)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionContainer
public ActionContainer(org.apache.felix.gogo.commands.Action action)
setSystemOutputStream
public void setSystemOutputStream(PrintStream outputStream)
setSystemErrorStream
public void setSystemErrorStream(PrintStream errorStream)
setSystemInputStream
public void setSystemInputStream(InputStream inputStream)
option
public ActionContainer option(String name,
Object value)
argument
public ActionContainer argument(int index,
Object value)
execute
public Object execute(org.apache.felix.service.command.CommandSession session)
throws Exception
- Throws:
Exception
applyStreams
protected void applyStreams()
getSystemOut
public String getSystemOut()
getSystemOut
public String getSystemOut(boolean ansiSupport)
getSystemErr
public String getSystemErr()
getSystemErr
public String getSystemErr(boolean ansiSupport)
setSystemIn
public void setSystemIn(String lines)
Copyright © 2013 OW2 Consortium. All Rights Reserved.