Uses of Class
com.sonyericsson.hudson.plugins.gerrit.trigger.test.SshdServerMock.CommandMock

Uses of SshdServerMock.CommandMock in com.sonyericsson.hudson.plugins.gerrit.trigger.test
 

Subclasses of SshdServerMock.CommandMock in com.sonyericsson.hudson.plugins.gerrit.trigger.test
static class SshdServerMock.EofCommandMock
          A command that immediately returns 0.
static class SshdServerMock.PrintLinesCommand
          A Command that prints a given list of lines when the SshdServerMock.PrintLinesCommand.now() method is called and then exits with 0.
 

Methods in com.sonyericsson.hudson.plugins.gerrit.trigger.test that return SshdServerMock.CommandMock
 SshdServerMock.CommandMock SshdServerMock.getCurrentCommand()
          The last started command.
 SshdServerMock.CommandMock SshdServerMock.getRunningCommand(String commandSearch)
          Gets the first running command that matches the given regular expression.
 SshdServerMock.CommandMock SshdServerMock.CommandLookup.newInstance(String command)
          Creates a new instance of the command with all it's parameters.
protected  SshdServerMock.CommandMock SshdServerMock.setCurrentCommand(SshdServerMock.CommandMock command)
          Sets the current command being executed and adds it to the commandHistory.
 SshdServerMock.CommandMock SshdServerMock.waitForCommand(String commandSearch, int timeout)
          Waits for a running command matching the provided regular expression to appear in the command history.
 

Methods in com.sonyericsson.hudson.plugins.gerrit.trigger.test with parameters of type SshdServerMock.CommandMock
protected  SshdServerMock.CommandMock SshdServerMock.setCurrentCommand(SshdServerMock.CommandMock command)
          Sets the current command being executed and adds it to the commandHistory.
 

Method parameters in com.sonyericsson.hudson.plugins.gerrit.trigger.test with type arguments of type SshdServerMock.CommandMock
 void SshdServerMock.returnCommandFor(String commandPattern, Class<? extends SshdServerMock.CommandMock> cmd)
          Specifies a command type to instantiate and give to mina when a command matching the given regular expression is wanted.
 void SshdServerMock.returnCommandFor(String commandPattern, Class<? extends SshdServerMock.CommandMock> cmd, boolean oneShot, Object[] arguments, Class<?>[] types)
          Specifies a command type to instantiate and give to mina when a command matching the given regular expression is wanted.
 void SshdServerMock.returnCommandFor(String commandPattern, Class<? extends SshdServerMock.CommandMock> cmd, Object[] arguments, Class<?>[] types)
          Specifies a command type to instantiate and give to mina when a command matching the given regular expression is wanted.
 

Constructor parameters in com.sonyericsson.hudson.plugins.gerrit.trigger.test with type arguments of type SshdServerMock.CommandMock
SshdServerMock.CommandLookup(Class<? extends SshdServerMock.CommandMock> cmdClass, Pattern commandPattern, boolean oneShot, Constructor<? extends SshdServerMock.CommandMock> constructor, Object... arguments)
          Standard constructor.
SshdServerMock.CommandLookup(Class<? extends SshdServerMock.CommandMock> cmdClass, Pattern commandPattern, boolean oneShot, Constructor<? extends SshdServerMock.CommandMock> constructor, Object... arguments)
          Standard constructor.
SshdServerMock.CommandLookup(Class<? extends SshdServerMock.CommandMock> cmdClass, String commandPattern, boolean oneShot, Constructor<? extends SshdServerMock.CommandMock> constructor, Object... arguments)
          Standard constructor.
SshdServerMock.CommandLookup(Class<? extends SshdServerMock.CommandMock> cmdClass, String commandPattern, boolean oneShot, Constructor<? extends SshdServerMock.CommandMock> constructor, Object... arguments)
          Standard constructor.
 



Copyright © 2004-2014. All Rights Reserved.