public class TestCommandContextFactory extends CommandContextFactory
| Constructor and Description |
|---|
TestCommandContextFactory() |
TestCommandContextFactory(org.osgi.framework.BundleContext bCtx) |
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
createContext(Arguments args) |
CommandRegistry |
getCommandRegistry() |
Console |
getConsole() |
String |
getError() |
String |
getOutput() |
void |
reset() |
void |
setInput(String input) |
void |
setInputThrowsException(IOException ex) |
public TestCommandContextFactory()
public TestCommandContextFactory(org.osgi.framework.BundleContext bCtx)
public CommandContext createContext(Arguments args)
createContext in class CommandContextFactorypublic CommandRegistry getCommandRegistry()
getCommandRegistry in class CommandContextFactorypublic String getOutput()
public void setInput(String input)
public String getError()
public void reset()
public Console getConsole()
getConsole in class CommandContextFactorypublic void setInputThrowsException(IOException ex)
Copyright © 2012. All Rights Reserved.