public class ActionContainer extends Object
| Constructor and Description |
|---|
ActionContainer(org.apache.felix.gogo.commands.Action action) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public ActionContainer(org.apache.felix.gogo.commands.Action action)
public void setSystemOutputStream(PrintStream outputStream)
public void setSystemErrorStream(PrintStream errorStream)
public void setSystemInputStream(InputStream inputStream)
public ActionContainer option(String name, Object value)
public ActionContainer argument(int index, Object value)
public Object execute(org.apache.felix.service.command.CommandSession session) throws Exception
Exceptionprotected void applyStreams()
public String getSystemOut()
public String getSystemOut(boolean ansiSupport)
public String getSystemErr()
public String getSystemErr(boolean ansiSupport)
public void setSystemIn(String lines)
Copyright © 2013 OW2 Consortium. All Rights Reserved.