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 hudson)
Constructor for testing.
|
ParameterExpander(IGerritHudsonTriggerConfig config)
Constructor.
|
ParameterExpander(IGerritHudsonTriggerConfig config,
Jenkins jenkins)
Constructor.
|
Constructor and Description |
---|
BuildCompletedRestCommandJob(IGerritHudsonTriggerConfig config,
BuildMemory.MemoryImprint memoryImprint,
TaskListener listener)
Constructor.
|
BuildStartedRestCommandJob(IGerritHudsonTriggerConfig config,
Run build,
TaskListener listener,
com.sonymobile.tools.gerrit.gerritevents.dto.events.ChangeBasedEvent event,
BuildsStartedStats stats)
Constructor.
|
Constructor and Description |
---|
BuildCompletedCommandJob(IGerritHudsonTriggerConfig config,
BuildMemory.MemoryImprint memoryImprint,
TaskListener listener)
Standard constructor with all the needed data for the job to perform.
|
BuildStartedCommandJob(IGerritHudsonTriggerConfig config,
Run build,
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 Boolean |
GerritPluginChecker.isPluginEnabled(IGerritHudsonTriggerConfig config,
String pluginName,
boolean quiet)
Query Gerrit to determine if plugin is enabled.
|
static org.apache.http.client.methods.CloseableHttpResponse |
HttpUtils.performHTTPGet(IGerritHudsonTriggerConfig config,
String url) |
Copyright © 2016–2019. All rights reserved.