|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGerritHudsonTriggerConfig
Interface for the Global configuration.
Method Summary | |
---|---|
int |
getBuildScheduleDelay()
Returns the BuildScheduleDelay. |
List<VerdictCategory> |
getCategories()
Get the list of available VerdictCategories. |
int |
getDynamicConfigRefreshInterval()
Returns the dynamicConfigRefreshInterval. |
int |
getGerritBuildFailedCodeReviewValue()
The default code review value for build failed. |
int |
getGerritBuildFailedVerifiedValue()
The default verified value for build failed. |
int |
getGerritBuildNotBuiltCodeReviewValue()
The default code review value for build not built. |
int |
getGerritBuildNotBuiltVerifiedValue()
The default verified value for build not built. |
int |
getGerritBuildStartedCodeReviewValue()
The default code review value for build started. |
int |
getGerritBuildStartedVerifiedValue()
The default verified value for build started. |
int |
getGerritBuildSuccessfulCodeReviewValue()
The default code review value for build successful. |
int |
getGerritBuildSuccessfulVerifiedValue()
The default verified value for build successful. |
int |
getGerritBuildUnstableCodeReviewValue()
The default code review value for build unstable. |
int |
getGerritBuildUnstableVerifiedValue()
The default verified value for build unstable. |
String |
getGerritCmdBuildFailed()
The command template to use when sending build-failed messages to Gerrit. |
String |
getGerritCmdBuildNotBuilt()
The command template to use when sending build-not-built messages to Gerrit. |
String |
getGerritCmdBuildStarted()
The command template to use when sending build-started messages to Gerrit. |
String |
getGerritCmdBuildSuccessful()
The command template to use when sending build-successful messages to Gerrit. |
String |
getGerritCmdBuildUnstable()
The command template to use when sending build-unstable messages to Gerrit. |
String |
getGerritFrontEndUrl()
Base URL for the Gerrit UI. |
String |
getGerritFrontEndUrlFor(GerritTriggeredEvent event)
Creates a URL to the provided changeset number. |
String |
getGerritFrontEndUrlFor(String number,
String revision)
Creates a URL to the provided changeset number. |
String |
getGerritHttpPassword()
The password for the HTTP REST API. |
String |
getGerritHttpUserName()
The user name for the HTTP REST API. |
int |
getNumberOfReceivingWorkerThreads()
Deprecated. |
int |
getNumberOfSendingWorkerThreads()
Deprecated. |
boolean |
hasDefaultValues()
If the plugin still has default values for hostname and frontendurl. |
boolean |
isEnableManualTrigger()
If the manual trigger is enabled (shown to users) or not. |
boolean |
isEnablePluginMessages()
If other plugins are allowed to contribute messages to be forwarded to Gerrit. |
boolean |
isGerritBuildCurrentPatchesOnly()
If enabled, then old patch revision builds will be canceled. |
boolean |
isUseRestApi()
If the HTTP REST API should be used for change approval instead of the sh API. |
void |
setCategories(List<VerdictCategory> categories)
Set the list of available VerdictCategories. |
void |
setNumberOfSendingWorkerThreads(int numberOfSendingWorkerThreads)
NumberOfSendingWorkerThreads. |
void |
setValues(net.sf.json.JSONObject form)
Sets all config values from the provided JSONObject. |
Methods inherited from interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig2 |
---|
getExceptionData, getWatchdogTimeoutMinutes, getWatchdogTimeoutSeconds |
Methods inherited from interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.GerritConnectionConfig |
---|
getGerritEMail |
Methods inherited from interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshConnectionConfig |
---|
getGerritAuthentication, getGerritAuthKeyFile, getGerritAuthKeyFilePassword, getGerritHostName, getGerritProxy, getGerritSshPort, getGerritUserName |
Methods inherited from interface com.sonyericsson.hudson.plugins.gerrit.gerritevents.rest.RestConnectionConfig |
---|
getGerritProxy, getHttpCredentials |
Method Detail |
---|
boolean isGerritBuildCurrentPatchesOnly()
String getGerritFrontEndUrl()
getGerritFrontEndUrl
in interface RestConnectionConfig
String getGerritCmdBuildStarted()
String getGerritCmdBuildSuccessful()
String getGerritCmdBuildFailed()
String getGerritCmdBuildUnstable()
String getGerritCmdBuildNotBuilt()
int getGerritBuildStartedVerifiedValue()
int getGerritBuildStartedCodeReviewValue()
int getGerritBuildSuccessfulVerifiedValue()
int getGerritBuildSuccessfulCodeReviewValue()
int getGerritBuildFailedVerifiedValue()
int getGerritBuildFailedCodeReviewValue()
int getGerritBuildUnstableVerifiedValue()
int getGerritBuildUnstableCodeReviewValue()
int getGerritBuildNotBuiltVerifiedValue()
int getGerritBuildNotBuiltCodeReviewValue()
void setValues(net.sf.json.JSONObject form)
form
- the JSON object with form data.String getGerritFrontEndUrlFor(String number, String revision)
number
- the changeset numberrevision
- the patch set number (currently not used)
getGerritFrontEndUrl()
+ / + numbergetGerritFrontEndUrl()
String getGerritFrontEndUrlFor(GerritTriggeredEvent event)
event
- the gerrit triggered event
getGerritFrontEndUrlFor(String, String)
List<VerdictCategory> getCategories()
void setCategories(List<VerdictCategory> categories)
categories
- the list.boolean isEnableManualTrigger()
int getBuildScheduleDelay()
int getDynamicConfigRefreshInterval()
boolean hasDefaultValues()
boolean isEnablePluginMessages()
boolean isUseRestApi()
String getGerritHttpPassword()
String getGerritHttpUserName()
void setNumberOfSendingWorkerThreads(int numberOfSendingWorkerThreads)
numberOfSendingWorkerThreads
- nr of threads.@Deprecated int getNumberOfReceivingWorkerThreads()
@Deprecated int getNumberOfSendingWorkerThreads()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |