Modifier and Type | Method and Description |
---|---|
IGerritHudsonTriggerConfig |
GerritServer.getConfig()
Gets the global config of this server.
|
static IGerritHudsonTriggerConfig |
GerritManagement.getConfig(String serverName)
Get the config of a server.
|
static IGerritHudsonTriggerConfig |
PluginImpl.getServerConfig(com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event)
Finds the server config for the event's provider.
|
Modifier and Type | Method and Description |
---|---|
void |
GerritServer.setConfig(IGerritHudsonTriggerConfig config)
Sets the global config of this server.
|
Modifier and Type | Class and Description |
---|---|
class |
Config
Configuration bean for the global configuration.
|
Constructor and Description |
---|
Config(IGerritHudsonTriggerConfig config)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
IGerritHudsonTriggerConfig |
NotificationFactory.getConfig(String serverName)
Shortcut method to get the config from
GerritServer . |
Modifier and Type | Method and Description |
---|---|
GerritNotifier |
NotificationFactory.createGerritNotifier(IGerritHudsonTriggerConfig config,
com.sonymobile.tools.gerrit.gerritevents.GerritCmdRunner cmdRunner)
Factory method for creating a GerritNotifier.
|
Constructor and Description |
---|
GerritNotifier(IGerritHudsonTriggerConfig config,
com.sonymobile.tools.gerrit.gerritevents.GerritCmdRunner cmdRunner)
Constructor.
|
GerritNotifier(IGerritHudsonTriggerConfig config,
com.sonymobile.tools.gerrit.gerritevents.GerritCmdRunner cmdRunner,
hudson.model.Hudson hudson)
Constructor for testing.
|
ParameterExpander(IGerritHudsonTriggerConfig config)
Constructor.
|
ParameterExpander(IGerritHudsonTriggerConfig config,
jenkins.model.Jenkins jenkins)
Constructor.
|
Constructor and Description |
---|
BuildCompletedRestCommandJob(IGerritHudsonTriggerConfig config,
BuildMemory.MemoryImprint memoryImprint,
hudson.model.TaskListener listener)
Constructor.
|
BuildStartedRestCommandJob(IGerritHudsonTriggerConfig config,
hudson.model.Run build,
hudson.model.TaskListener listener,
com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event,
BuildsStartedStats stats)
Constructor.
|
Constructor and Description |
---|
BuildCompletedCommandJob(IGerritHudsonTriggerConfig config,
BuildMemory.MemoryImprint memoryImprint,
hudson.model.TaskListener listener)
Standard constructor with all the needed data for the job to perform.
|
BuildStartedCommandJob(IGerritHudsonTriggerConfig config,
hudson.model.Run build,
hudson.model.TaskListener taskListener,
com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent event,
BuildsStartedStats stats)
Standard constructor with all the required data for the job.
|
Modifier and Type | Method and Description |
---|---|
protected String |
GerritMissedEventsPlaybackManager.buildEventsLogURL(IGerritHudsonTriggerConfig config,
Date date1) |
protected String |
GerritMissedEventsPlaybackManager.getEventsFromEventsLogPlugin(IGerritHudsonTriggerConfig config,
String url) |
Modifier and Type | Method and Description |
---|---|
static boolean |
GerritPluginChecker.isPluginEnabled(IGerritHudsonTriggerConfig config,
String pluginName)
Query Gerrit to determine if plugin is enabled.
|
static org.apache.http.client.methods.CloseableHttpResponse |
HttpUtils.performHTTPGet(IGerritHudsonTriggerConfig config,
String url) |
Copyright © 2016–2017. All rights reserved.