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 CommandContextFactory
public CommandRegistry getCommandRegistry()
getCommandRegistry
in class CommandContextFactory
public String getOutput()
public void setInput(String input)
public String getError()
public void reset()
public Console getConsole()
getConsole
in class CommandContextFactory
public void setInputThrowsException(IOException ex)
Copyright © 2013. All Rights Reserved.