Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
G
I
M
N
O
R
S
W
C
com.sonyericsson.hudson.plugins.gerrit.trigger.test
- package com.sonyericsson.hudson.plugins.gerrit.trigger.test
command
- Variable in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
createCommand(String)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
D
destroy()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
G
generateKeyPair()
- Static method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Generates a rsa key-pair in /tmp/jenkins-testkey for use with authenticating the trigger against the mock server.
GERRIT_SSH_PORT
- Static variable in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
The default port that Gerrit usually listens to.
GERRIT_STREAM_EVENTS
- Static variable in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
The stream-events command.
getCommand()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
The command from the client.
getCurrentCommand()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
The last started command.
getErrorStream()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
The error stream from the command.
getInputStream()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
The input stream to the command.
getOutputStream()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
the output stream from the command.
getRunningCommand(String)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Gets the first running command that matches the given regular expression.
I
isCommand(String)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandLookup
If the given command matches the pattern.
isDestroyed()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
Is the command destroyed.
isOneShot()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandLookup
M
MIN_SLEEP
- Static variable in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Minimum time a thread can sleep.
N
newInstance(String)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandLookup
Creates a new instance of the command with all it's parameters.
now()
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.PrintLinesCommand
call this to make the command print its lines to the output.
O
ONE_SECOND
- Static variable in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
One second in ms.
R
returnCommandFor(String, Class<? extends SshdServerMock.CommandMock>)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Specifies a command type to instantiate and give to mina when a command matching the given regular expression is wanted.
returnCommandFor(String, Class<? extends SshdServerMock.CommandMock>, Object[], Class<?>[])
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Specifies a command type to instantiate and give to mina when a command matching the given regular expression is wanted.
returnCommandFor(String, Class<? extends SshdServerMock.CommandMock>, boolean, Object[], Class<?>[])
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Specifies a command type to instantiate and give to mina when a command matching the given regular expression is wanted.
S
setCurrentCommand(SshdServerMock.CommandMock)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Sets the current command being executed and adds it to the commandHistory.
setErrorStream(OutputStream)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
setExitCallback(ExitCallback)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
setInputStream(InputStream)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
setOutputStream(OutputStream)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
SshdServerMock
- Class in
com.sonyericsson.hudson.plugins.gerrit.trigger.test
The beginning of a mock of a sshd server.
SshdServerMock()
- Constructor for class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
SshdServerMock.CommandLookup
- Class in
com.sonyericsson.hudson.plugins.gerrit.trigger.test
Utility class for looking up and creating commands.
SshdServerMock.CommandLookup(Class<? extends SshdServerMock.CommandMock>, Pattern, boolean, Constructor<? extends SshdServerMock.CommandMock>, Object...)
- Constructor for class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandLookup
Standard constructor.
SshdServerMock.CommandLookup(Class<? extends SshdServerMock.CommandMock>, String, boolean, Constructor<? extends SshdServerMock.CommandMock>, Object...)
- Constructor for class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandLookup
Standard constructor.
SshdServerMock.CommandMock
- Class in
com.sonyericsson.hudson.plugins.gerrit.trigger.test
A mocked ssh command.
SshdServerMock.CommandMock(String)
- Constructor for class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
Standard constructor.
SshdServerMock.EofCommandMock
- Class in
com.sonyericsson.hudson.plugins.gerrit.trigger.test
A command that immediately returns 0.
SshdServerMock.EofCommandMock(String)
- Constructor for class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.EofCommandMock
Standard constructor.
SshdServerMock.PrintLinesCommand
- Class in
com.sonyericsson.hudson.plugins.gerrit.trigger.test
A Command that prints a given list of lines when the
SshdServerMock.PrintLinesCommand.now()
method is called and then exits with 0.
SshdServerMock.PrintLinesCommand(String, List<String>)
- Constructor for class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.PrintLinesCommand
Standard constructor.
start(Environment)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
Default implementation just waits for the command to be destroyed.
start(Environment)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.EofCommandMock
start(Environment)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.PrintLinesCommand
startServer(int, SshdServerMock)
- Static method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Starts a ssh server on the provided port.
startServer(SshdServerMock)
- Static method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Starts a ssh server on the standard Gerrit port.
stop(int)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
Stops the command from running.
W
WAIT_FOR_DESTROYED
- Static variable in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock.CommandMock
The max ms to wait before checking if the command is destroyed.
WAIT_FOR_ERROR_OUTPUT
- Static variable in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
How long to sleep to let the ssh-keygen error output appear on stderr.
waitForCommand(String, int)
- Method in class com.sonyericsson.hudson.plugins.gerrit.trigger.test.
SshdServerMock
Waits for a running command matching the provided regular expression to appear in the command history.
C
D
G
I
M
N
O
R
S
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2004-2014. All Rights Reserved.