org.ow2.shelbie.testing
Class ActionContainer

java.lang.Object
  extended by 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)
           
 
Method Summary
protected  void applyStreams()
           
 ActionContainer argument(int index, Object value)
           
 Object execute(org.apache.felix.service.command.CommandSession session)
           
 String getSystemErr()
           
 String getSystemErr(boolean ansiSupport)
           
 String getSystemOut()
           
 String getSystemOut(boolean ansiSupport)
           
 ActionContainer option(String name, Object value)
           
 void setSystemErrorStream(PrintStream errorStream)
           
 void setSystemIn(String lines)
           
 void setSystemInputStream(InputStream inputStream)
           
 void setSystemOutputStream(PrintStream outputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionContainer

public ActionContainer(org.apache.felix.gogo.commands.Action action)
Method Detail

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.