public abstract class GerritMessageProvider extends Object implements Serializable, hudson.ExtensionPoint
Constructor and Description |
---|
GerritMessageProvider() |
Modifier and Type | Method and Description |
---|---|
static List<GerritMessageProvider> |
all()
Method fetching instances of ExtensionPoints implementing GerritMessageProvider.
|
String |
getBuildCompletedMessage(hudson.model.AbstractBuild build)
Deprecated.
|
String |
getBuildCompletedMessage(hudson.model.Run build)
Method allowing plug-ins to provide extra custom messages to Gerrit when a build is completed.
|
String |
getBuildStartedMessage(hudson.model.AbstractBuild build)
Deprecated.
|
String |
getBuildStartedMessage(hudson.model.Run build)
Method allowing plug-ins to provide extra custom messages to Gerrit when a build is started.
|
Collection<com.sonymobile.tools.gerrit.gerritevents.dto.rest.CommentedFile> |
getFileComments(hudson.model.AbstractBuild build)
Deprecated.
|
Collection<com.sonymobile.tools.gerrit.gerritevents.dto.rest.CommentedFile> |
getFileComments(hudson.model.Run build)
Provide any file comments.
|
public String getBuildStartedMessage(hudson.model.Run build)
build
- Triggered build to provide custom message for@Deprecated public String getBuildStartedMessage(hudson.model.AbstractBuild build)
getBuildStartedMessage(hudson.model.Run)
build
- Triggered build to provide custom message forpublic String getBuildCompletedMessage(hudson.model.Run build)
build
- Triggered build to provide custom message for@Deprecated public String getBuildCompletedMessage(hudson.model.AbstractBuild build)
getBuildCompletedMessage(hudson.model.Run)
build
- Triggered build to provide custom message forpublic Collection<com.sonymobile.tools.gerrit.gerritevents.dto.rest.CommentedFile> getFileComments(hudson.model.Run build)
build
- the build to complain about@Deprecated public Collection<com.sonymobile.tools.gerrit.gerritevents.dto.rest.CommentedFile> getFileComments(hudson.model.AbstractBuild build)
getFileComments(hudson.model.Run)
build
- the build to complain aboutpublic static List<GerritMessageProvider> all()
Copyright © 2016–2020. All rights reserved.