A B C D E F G H I L M N O P Q R S T U V W

A

ABANDONER - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
abandoner.
AbstractGerritEventWork - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Base work when all other work is done.
AbstractGerritEventWork() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractGerritEventWork
 
AbstractJsonObjectWork - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Abstract work that converts a JSON object to a GerritEvent.
AbstractJsonObjectWork() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractJsonObjectWork
 
AbstractSendCommandJob - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd
An abstract Job implementation to be scheduled on GerritSendCommandQueue.
AbstractSendCommandJob(GerritConnectionConfig) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob
Standard constructor taking the latest configuration.
Account - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr
Represents a Gerrit JSON Account DTO.
Account() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
Default constructor.
Account(JSONObject) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
Constructor that fills with data directly.
Account(String, String) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
For easier testing.
account - Variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.GerritTriggeredEvent
The account that triggered the event.
addConnectionListeners(Map<Integer, ConnectionListener>) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Deprecated.  
addConnectionListeners(Collection<? extends ConnectionListener>) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Add all ConnectionListeners to the list of listeners.
addEventListeners(Map<Integer, GerritEventListener>) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Deprecated. 
addEventListeners(Collection<? extends GerritEventListener>) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Adds all the provided listeners to the internal list of listeners.
addListener(GerritEventLifecycleListener) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Adds the listener to the list of listeners.
addListener(GerritEventListener) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Add a GerritEventListener to the list of listeners.
addListener(ConnectionListener) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Add a ConnectionListener to the list of listeners.
allBuildsCompleted(PatchsetCreated) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycleListener
Called when all builds triggered by the event are completed.
Approval - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr
Represents a Gerrit JSON Approval DTO.
Approval() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
Default constructor.
Approval(JSONObject) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
Constructor that fills with data directly.
APPROVALS - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
review approvals.
Authentication - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
Represents authentication information to an SSH server connection.
Authentication(File, String, String) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.Authentication
Constructor.
Authentication(File, String) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.Authentication
Constructor.
AUTHOR - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
submitter.

B

BRANCH - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
branch.
BRUTE_FORCE_TRIES - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
How many times to try and set the shutdown flag to true.
buildCompleted(PatchsetCreated, AbstractBuild) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycleListener
Called when a build is completed.
buildStarted(PatchsetCreated, AbstractBuild) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycleListener
Called when a build has started.

C

Change - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr
Represents a Gerrit JSON Change DTO.
Change() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Default constructor.
Change(JSONObject) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Constructor that fills with data directly.
change - Variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
The Gerrit change the event is related to.
CHANGE - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
change.
ChangeAbandoned - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
A DTO representation of the change-abandoned Gerrit Event.
ChangeAbandoned() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeAbandoned
Default constructor.
ChangeAbandoned(JSONObject) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeAbandoned
Constructor that fills data directly.
ChangeBasedEvent - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
Base class for all GeritTriggeredEvents containing a Change.
ChangeBasedEvent() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
 
ChangeMerged - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
A DTO representation of the change-merged Gerrit Event.
ChangeMerged() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeMerged
Default constructor.
ChangeMerged(JSONObject) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeMerged
Constructor that fills data directly.
checkPassPhrase(File, String) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshUtil
Checks to see if the passPhrase is valid for the private key file.
CMD_EXEC - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
SSH Command to open an "exec channel".
com.sonyericsson.hudson.plugins.gerrit.gerritevents - package com.sonyericsson.hudson.plugins.gerrit.gerritevents
 
com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto - package com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto
 
com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr - package com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr
 
com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events - package com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
 
com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle - package com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle
 
com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh - package com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
 
com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers - package com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
 
com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd - package com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd
 
CommentAdded - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
A DTO representation of the comment-added Gerrit Event.
CommentAdded() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.CommentAdded
 
CONNECT_SLEEP - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Time to wait between connection attempts.
connectionDown() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ConnectionListener
Called when a connection has failed.
connectionEstablished() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ConnectionListener
Called when a connection has been established.
ConnectionListener - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents
A listener for basic Gerrit connection status.
Coordinator - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Representation interface of an EventThread workers coordinator.

D

DEFAULT_BUILD_SCHEDULE_DELAY - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default build schedule delay.
DEFAULT_DYNAMIC_CONFIG_REFRESH_INTERVAL - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default refresh interval for the Dynamic Trigger Configuration.
DEFAULT_GERRIT_AUTH_KEY_FILE - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default key-file to use when authenticating to the gerrit server.
DEFAULT_GERRIT_AUTH_KEY_FILE_PASSWORD - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default password for the private key-file.
DEFAULT_GERRIT_HOSTNAME - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default gerrit hostname.
DEFAULT_GERRIT_SSH_PORT - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default ssh port for the gerrit server.
DEFAULT_GERRIT_USERNAME - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default username to use when authenticating to the gerrit server.
DEFAULT_NR_OF_RECEIVING_WORKER_THREADS - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default nr of event worker threads.
DEFAULT_NR_OF_SENDING_WORKER_THREADS - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The default nr of worker threads that sends approvals/review commands.
disconnect() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection
Disconnects the connection.
disconnect() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
Disconnects the connection.
DraftPublished - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
A DTO representation of the draft-published Gerrit Event.
DraftPublished() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.DraftPublished
 

E

EMAIL - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
email.
equals(Object) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
 
equals(Object) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
 
equals(Object) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
 
equals(Object) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
 
equals(Object) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
 
equals(Object) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
 
equals(Object) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
 
EventThread - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
A basic event thread.
EventThread(Coordinator) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.EventThread
Constructs an Event thread worker.
EventThread(Coordinator, String) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.EventThread
Constructs an Event thread worker.
executeCommand(String) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection
Execute an ssh command on the server.
executeCommand(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
Execute an ssh command on the server.
executeCommandChannel(String) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection
Execute an ssh command on the server, without closing the session so that the caller can get access to all the Channel attributes from the server.
executeCommandChannel(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
This version takes a command to run, and then returns a wrapper instance that exposes all the standard state of the channel (stdin, stdout, stderr, exit status, etc).
executeCommandReader(String) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection
Execute an ssh command on the server, without closing the session so that a Reader can be returned with streaming data from the server.
executeCommandReader(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
Execute an ssh command on the server, without closing the session so that a Reader can be returned with streaming data from the server.

F

findByTypeValue(String) - Static method in enum com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventType
Finds the event type for the specified type-value.
fireAllBuildsCompleted() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Fires the event GerritEventLifecycleListener.allBuildsCompleted(PatchsetCreated).
fireBuildCompleted(AbstractBuild) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Fires the event GerritEventLifecycleListener.buildCompleted(PatchsetCreated, AbstractBuild).
fireBuildStarted(AbstractBuild) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Fires the event GerritEventLifecycleListener.buildStarted(PatchsetCreated, AbstractBuild).
fireProjectTriggered(AbstractProject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Fires the event GerritEventLifecycleListener.projectTriggered(PatchsetCreated, AbstractProject).
fireTriggerScanDone() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Fires the event GerritEventLifecycleListener.triggerScanDone(PatchsetCreated).
fireTriggerScanStarting() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Fires the event GerritEventLifecycleListener.triggerScanStarting(PatchsetCreated).
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeAbandoned
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
Takes a JSON object and fills its internal data-structure.
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeMerged
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.CommentAdded
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.DraftPublished
 
fromJson(JSONObject, JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ManualPatchsetCreated
Sets the relevant values from the JSONObjects.
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.PatchsetCreated
 
fromJson(JSONObject) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
 
fromJson(JSONObject) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritJsonDTO
Takes a JSON object and fills its internal data-structure.

G

GerritCmdRunner - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents
 
GerritConnectionConfig - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents
Interface for an object that has information about how to connect to the Gerrit server.
GerritDefaultValues - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents
Contains the default values for Gerrit communication.
GerritEvent - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto
Base interface for all events streamed from Gerrit.
gerritEvent(GerritEvent) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritEventListener
Fallback method for all valid Gerrit events.
gerritEvent(PatchsetCreated) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritEventListener
Called when a Patchset created event has arrived.
gerritEvent(DraftPublished) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritEventListener
Called when a draft published event has arrived.
gerritEvent(ChangeAbandoned) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritEventListener
Called when a change abandoned event has arrived.
gerritEvent(ChangeMerged) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritEventListener
Called when a change merged event has arrived.
gerritEvent(CommentAdded) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritEventListener
Called when a comment added event has arrived.
gerritEvent(RefUpdated) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritEventListener
Called when a ref updated event has arrived.
GerritEventKeys - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto
Contains constants that represent the names of Gerrit Event JSON properties.
GerritEventLifecycle - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle
Adaptor class for handling event listeners for the lifecycle of a GerritEvent.
GerritEventLifecycle() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
 
GerritEventLifecycleListener - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle
Listener interface for listening in on a specific GerritEvent's lifecycle.
GerritEventListener - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents
Base Listener interface for those that are interested in Gerrit events.
GerritEventType - Enum in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto
Representation of the type of event, if they are interesting and what class to use to parse the JSON string.
GerritEventWork - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Notifies all listeners of the arrived event.
GerritEventWork(GerritEvent) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.GerritEventWork
Standard Constructor.
GerritHandler - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents
Main class for this module.
GerritHandler() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Creates a GerritHandler with all the default values set.
GerritHandler(String, int, Authentication) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Creates a GerritHandler with the specified values and default number of worker threads.
GerritHandler(GerritConnectionConfig) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Creates a GerritHandler with the specified values.
GerritHandler(String, int, Authentication, int) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Creates a GerritHandler with the specified values.
GerritJsonDTO - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto
Base interface for all DTO POJOs that represents a JSON data structure.
GerritJsonEvent - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto
Base interface for a JSON event from Gerrit.
GerritJsonEventFactory - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents
Contains utility methods for handling JSONObjects.
GerritQueryException - Exception in com.sonyericsson.hudson.plugins.gerrit.gerritevents
Represents a Query result of type "error".
GerritQueryException(Throwable) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryException
Standard constructor.
GerritQueryException(String, Throwable) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryException
Standard constructor.
GerritQueryException(String) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryException
Standard Constructor.
GerritQueryException() - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryException
Default Constructor.
GerritQueryHandler - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents
This class helps you call gerrit query to search for patch-sets.
GerritQueryHandler(String, int, Authentication) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryHandler
Creates a GerritQueryHandler with the specified values.
GerritQueryHandler(GerritConnectionConfig) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryHandler
Creates a GerritQueryHandler with the specified config.
GerritSendCommandQueue - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents
A thread-pool and queue implementation for queueing commands to the Gerrit server.
GerritTriggeredEvent - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
A DTO representation of a Gerrit triggered Event.
GerritTriggeredEvent() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.GerritTriggeredEvent
 
getAccount() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.GerritTriggeredEvent
The account that triggered the event.
getApprovals() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.CommentAdded
Get the code review approvals associated with this Gerrit comment.
getAuthentication() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
The authentication credentials for ssh connection.
getBranch() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Branch name within project.
getChange() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
The Change.
getConfig() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob
Gets the connection config used when sending a command.
getConnection(String, int, Authentication) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionFactory
Creates a SshConnection.
getEmail() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
Account user's preferred email.
getEvent(JSONObject) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritJsonEventFactory
Creates a GerritJsonEvent DTO out of the provided JSONObject.
getEventIfInteresting(String) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritJsonEventFactory
Tries to parse the provided string into a GerritJsonEvent DTO if it is interesting and usable.
getEventListenersCount() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
The number of added eGerritEventListeners.
getEventRepresentative() - Method in enum com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventType
Gets the DTO class that represents this kind of event.
getEventType() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeAbandoned
 
getEventType() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeMerged
 
getEventType() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.CommentAdded
 
getEventType() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.DraftPublished
 
getEventType() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.PatchsetCreated
 
getEventType() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
 
getEventType() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEvent
Returns what type of event it is.
getFiles(GerritQueryHandler) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
Queries gerrit for the files included in this patch set.
getGerritAuthentication() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig
The the Gerrit authentication credentials.
getGerritAuthKeyFile() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig
The path to the private key.
getGerritAuthKeyFilePassword() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig
The password for the private key, or null if there is none.
getGerritHostName() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig
The hostname for gerrit where it is listening to ssh commands.
getGerritHostName() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
gets the hostname where Gerrit is running.
getGerritSshPort() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig
The port to connect with ssh to.
getGerritSshPort() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Gets the port for gerrit ssh commands.
getGerritUserName() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig
The username to authenticate to gerrit with.
getGerritVersion() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
The gerrit version we are connected to.
getId() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Change identifier.
getInstance(GerritConnectionConfig) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritSendCommandQueue
Returns the singleton instance of the command-queue.
getInterestingEventTypes() - Static method in enum com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventType
Lists all event types that are interesting.
getJsonObjectIfInterestingAndUsable(String) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritJsonEventFactory
Tries to parse the provided string into a JSONObject and returns it if it is interesting and usable.
getListeners() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Gets a copy of the internal transient list of listeners.
getName() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
Account user's full name.
getNameAndEmail() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
Gives the full name and email in the format "name" <email@somewhere.com>.
getNewRev() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
New revision.
getNumber() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Deprecated. because the Gerrit documentation says so.
getNumber() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
The patchset number.
getNumberOfReceivingWorkerThreads() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig
The number of threads to handle incoming events with.
getNumberOfSendingWorkerThreads() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig
The default nr of worker threads that sends approvals/review commands.
getNumberOfWorkerThreads() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Gets the number of event worker threads.
getOldRev() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Old revision.
getOwner() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Owner in account attribute.
getPatchSet() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
The patchSet.
getPrivateKeyFile() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.Authentication
The file path to the private key.
getPrivateKeyFilePassword() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.Authentication
The password for the private key file.
getProject() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Project path in Gerrit.
getProject() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Name of project.
getQueueSize() - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritSendCommandQueue
Returns the current queue size.
getRef() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
Gets the refspec, if it exists.
getRefName() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Ref name within project.
getRefUpdate() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
The ref update.
getRevision() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
Git commit-ish for this patchset.
getString(JSONObject, String, String) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritJsonEventFactory
Returns the value of a JSON property as a String if it exists otherwise returns the defaultValue.
getString(JSONObject, String) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritJsonEventFactory
Returns the value of a JSON property as a String if it exists otherwise returns null.
getSubject() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Description of change.
getType() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
The approval category.
getTypeValue() - Method in enum com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventType
The value of the type property in the JSON object.
getUploader() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
The one who uploaded the patch-set.
getUrl() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Canonical URL to reach this change.
getUserName() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ManualPatchsetCreated
The name of the user who "created" the event.
getUsername() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.Authentication
The username to authenticate as.
getValue() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
The approval value.
getWorkQueue() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
 
getWorkQueue() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.Coordinator
Retrieves the work queue for workers to poll.

H

hashCode() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
 
hashCode() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
 
hashCode() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
 
hashCode() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
 
hashCode() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
 
hashCode() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
 
hashCode() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
 

I

ID - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
id.
isAuthenticated() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection
Is the connection authenticated.
isAuthenticated() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
Is the connection authenticated.
isConnected() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection
Is the connection connected.
isConnected() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
Is the connection connected.
isInteresting() - Method in enum com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventType
If this event type is interesting from a functionality perspective.
isInterestingAndUsable(String) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritJsonEventFactory
Tells if the provided string is a valid JSON string and represents an interesting and usable GerritJsonEvent as defined by GerritJsonEventFactory.getJsonObjectIfInterestingAndUsable(java.lang.String).
isPrivateKeyFileValid(File) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshUtil
Does a series of checks in the file to see if it is a valid private key file.
isScorable() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeAbandoned
 
isScorable() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeMerged
 
isScorable() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.CommentAdded
 
isScorable() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.DraftPublished
 
isScorable() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.PatchsetCreated
 
isScorable() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
 
isScorable() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEvent
Returns if a score (code review or verify) can be submitted to Gerrit.
isSessionOpen() - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnection
Returns if there already is an open session on this connection.
isSessionOpen() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
Returns if there already is an open session on this connection.
isShutdownInProgress() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
If the system is shutting down.

L

logger - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob
An instance of a logger for sub-classes to use.

M

ManualPatchsetCreated - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
Represents a Patchset manually selected to be built by a user.
ManualPatchsetCreated() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ManualPatchsetCreated
Default Constructor.
ManualPatchsetCreated(JSONObject, JSONObject, String) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ManualPatchsetCreated
Standard Constructor.
MINIMUM_DYNAMIC_CONFIG_REFRESH_INTERVAL - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritDefaultValues
The minimum refresh interval for dynamic configuration.

N

NAME - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
name.
NEWREV - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
newrev.
notifyConnectionDown() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Notifies all ConnectionListeners that the connection is down.
notifyConnectionEstablished() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Notifies all ConnectionListeners that the connection is established.
notifyListeners(GerritEvent) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Notifies all listeners of a Gerrit event.
notifyListeners(GerritEvent) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.Coordinator
Notifies the listeners of a GerritEvent.
NUMBER - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
number.

O

OLDREV - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
oldrev.
OWNER - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
owner.

P

PATCH_SET - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
patchSet.
PatchSet - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr
Represents a Gerrit JSON Patchset DTO.
PatchSet() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
Default constructor.
PatchSet(JSONObject) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
Constructor that fills with data directly.
patchSet - Variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
Refers to a specific patchset within a change.
PATCHSET - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
patchset.
PatchsetCreated - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
A DTO representation of the patchset-created Gerrit Event.
PatchsetCreated() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.PatchsetCreated
 
PAUSE_SECOND - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
The amount of milliseconds to pause when brute forcing the shutdown flag to true.
perform(GerritEvent, Coordinator) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractGerritEventWork
Performs the work.
perform(JSONObject, Coordinator) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.AbstractJsonObjectWork
Parses the JSONObject into a Java bean and sends the parsed GerritEvent down the inheritance chain.
perform(Coordinator) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.GerritEventWork
 
perform(Coordinator) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.StreamEventsStringWork
 
perform(Coordinator) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.Work
Does the work.
PROJECT - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
project.
projectTriggered(PatchsetCreated, AbstractProject) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycleListener
Called when the trigger of a project has decided to trigger on the event.

Q

QUERY_COMMAND - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryHandler
The base of the query ssh command to send to Gerrit.
queryFiles(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryHandler
Runs the query and returns the result as a list of Java JSONObjects.
queryJava(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryHandler
Runs the query and returns the result as a list of Java JSONObjects.
queryJava(String, boolean, boolean, boolean) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryHandler
Runs the query and returns the result as a list of Java JSONObjects.
queryJson(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryHandler
Runs the query and returns the result as a list of JSON formatted strings.
queryJson(String, boolean, boolean, boolean) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritQueryHandler
Runs the query and returns the result as a list of JSON formatted strings.
queue(AbstractSendCommandJob) - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritSendCommandQueue
Adds a command-job to the singleton instance's queue.
queueJob(AbstractSendCommandJob) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritSendCommandQueue
Adds a job to the queue.

R

REF - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
ref.
REFNAME - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
refname.
RefUpdate - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr
Represents a Gerrit JSON Reference Updated DTO.
RefUpdate() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Default constructor.
RefUpdate(JSONObject) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Constructor that fills with data directly.
refUpdate - Variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
The Gerrit ref update the event is related to.
REFUPDATE - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
refupdate.
RefUpdated - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events
A DTO representation of the ref-updated Gerrit Event.
RefUpdated() - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
 
removeAllConnectionListeners() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Removes all connection listeners and returns those who where removed.
removeAllEventListeners() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Removes all event listeners and returns those that where removed.
removeListener(GerritEventLifecycleListener) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycle
Removes the listener from the list of listeners.
removeListener(GerritEventListener) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Removes a GerritEventListener from the list of listeners.
removeListener(ConnectionListener) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Removes a ConnectionListener from the list of listeners.
REVISION - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
revision.
run() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Main loop for connecting and reading Gerrit JSON Events and dispatching them to Workers.
run() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.EventThread
 

S

SEND_QUEUE_SIZE_WARNING_THRESHOLD - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritSendCommandQueue
The minimum size of the job-queue before monitors should begin to warn the administrator(s).
sendCommand(String) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritCmdRunner
Runs a command on the gerrit server.
sendCommand(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob
Sends a command to the Gerrit server.
sendCommandStr(String) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritCmdRunner
Runs a command on the gerrit server and returns the output from the command.
sendCommandStr(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob
Sends a command to the Gerrit server, returning the output from the command.
setAccount(Account) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.GerritTriggeredEvent
The account that triggered the change.
setApprovals(List<Approval>) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.CommentAdded
Set the code review approvals for this event.
setAuthentication(Authentication) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
The authentication credentials for ssh connection.
setBranch(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Branch name within project.
setChange(Change) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
The Change.
setEmail(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
Account user's preferred email.
setGerritHostName(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Sets the hostname where Gerrit is running.
setGerritSshPort(int) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Sets the port for gerrit ssh commands.
setId(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Change identifier.
setName(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Account
Account user's full name.
setNewRev(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Change new Revision.
setNumber(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Deprecated. because the Gerrit documentation says so.
setNumber(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
The patchset number.
setNumberOfWorkerThreads(int) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Sets the number of worker event threads.
setOldRev(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Change old revision.
setOwner(Account) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Owner in account attribute.
setPatchset(PatchSet) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ChangeBasedEvent
The patchSet.
setProject(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Project path in Gerrit.
setProject(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Change name of project.
setRef(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
Sets the refspec.
setRefName(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
Ref name within project.
setRefUpdate(RefUpdate) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.RefUpdated
The ref update.
setRevision(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
Git commit-ish for this patchset.
setSubject(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Description of change.
setType(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
The approval category.
setUploader(Account) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
The one who uploaded the patch-set.
setUrl(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
Canonical URL to reach this change.
setUserName(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ManualPatchsetCreated
The name of the user who "created" the event.
setValue(String) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
Set the approval value.
shutdown(boolean) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
Closes the connection.
shutdown() - Static method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritSendCommandQueue
Shuts down the executor(s).
shutdown() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.EventThread
Ends this worker's reign and ends the thread.
SshAuthenticationException - Exception in com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
Indicates that authentication failed.
SshAuthenticationException() - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshAuthenticationException
Default constructor.
SshAuthenticationException(String) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshAuthenticationException
Standard constructor.
SshAuthenticationException(String, Throwable) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshAuthenticationException
Standard constructor.
SshAuthenticationException(Throwable) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshAuthenticationException
Standard constructor.
SshConnectException - Exception in com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
SshException related to connection issues.
SshConnectException() - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectException
Default constructor.
SshConnectException(String) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectException
Standard constructor.
SshConnectException(String, Throwable) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectException
Standard constructor.
SshConnectException(Throwable) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectException
Standard constructor.
SshConnection - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
A simple ssh client connection with private key.
SshConnectionFactory - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
Factory class for SshConnections.
SshConnectionImpl - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
A simple ssh client connection with private key.
SshConnectionImpl(String, int, Authentication) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionImpl
Creates and opens a SshConnection.
SshException - Exception in com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
Base class for "controlled" exceptions in SshConnection.
SshException(Throwable) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException
Standard constructor.
SshException(String, Throwable) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException
Standard constructor.
SshException(String) - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException
Standard constructor.
SshException() - Constructor for exception com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshException
Default constructor.
SshUtil - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh
Base util for connecting, authenticating and doing stuff on an ssh client->server connection.
startQueue(GerritConnectionConfig) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritSendCommandQueue
Starts the executor if it hasn't started yet, or updates the thread-pool size if it is started.
StreamEventsStringWork - Class in com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Top of the hierarchies of work, converts the string to JSON if it is interesting and usable.
StreamEventsStringWork(String) - Constructor for class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.StreamEventsStringWork
Default constructor.
SUBJECT - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
subject.
SUBMITTER - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
submitter.

T

toString() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Approval
 
toString() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.Change
 
toString() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.PatchSet
 
toString() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.attr.RefUpdate
 
toString() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.DraftPublished
 
toString() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.ManualPatchsetCreated
 
toString() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.PatchsetCreated
 
toString() - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers.StreamEventsStringWork
 
triggerEvent(GerritEvent) - Method in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritHandler
"Triggers" an event by adding it to the internal queue and be taken by one of the worker threads.
triggerScanDone(PatchsetCreated) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycleListener
Called after all triggers has been enumerated.
triggerScanStarting(PatchsetCreated) - Method in interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.events.lifecycle.GerritEventLifecycleListener
Called before any triggers are enumerated.
TYPE - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
approval category.

U

UPLOADER - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
uploader.
URL - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
url.

V

VALUE - Static variable in class com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventKeys
approval value.
valueOf(String) - Static method in enum com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEventType
Returns an array containing the constants of this enum type, in the order they are declared.

W

Work - Interface in com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Base work for an EventThread worker.

A B C D E F G H I L M N O P Q R S T U V W

Copyright © 2004-2012 Hudson. All Rights Reserved.