public interface NotificationEventListener
Modifier and Type | Method and Description |
---|---|
void |
buildFailed(SRunningBuild build)
Called when build finished with a failure.
|
void |
buildFailedAfterSuccess(SRunningBuild build)
Called upon first build failure after success
|
void |
buildFailedToStart(SRunningBuild build)
Called if build failed to start, i.e.
|
void |
buildFailing(SRunningBuild build,
BuildMessage1 message)
Called when build status changed to failure.
|
void |
buildProbablyHanged(SRunningBuild build)
Called when server detected probable hanging of a build
|
void |
buildProblemsMuted(MuteInfo muteInfo)
Called when a set of build problems are muted (with same mute properties).
|
void |
buildProblemsUnmuted(MuteInfo muteInfoBeforeUnmute,
java.util.Collection<BuildProblemInfo> problems,
SUser user)
Called when a set of build problems are unmuted (with same mute properties).
|
void |
buildStarted(SRunningBuild build)
Called when build started and changes loaded.
|
void |
buildSuccessful(SRunningBuild build)
Called when build finished successfully.
|
void |
buildSuccessfulAfterFailure(SRunningBuild build)
Called upon first successful build after a number of failed builds.
|
void |
labelingFailed(SBuild build,
VcsRoot root,
java.lang.Throwable exception)
Labeling process failed for the specified build and root with the specified problem.
|
void |
responsibleChanged(SBuildType buildType,
ResponsibilityEntry oldValue,
ResponsibilityEntry newValue,
boolean isUserAction)
Called when responsibility changes.
|
void |
responsibleChanged(SProject project,
java.util.Collection<BuildProblemInfo> buildProblems,
ResponsibilityEntry entry)
Called when responsibility for several build problems at once is changed.
|
void |
responsibleChanged(SProject project,
java.util.Collection<TestName> testNames,
ResponsibilityEntry entry,
boolean isUserAction)
Called when responsibility for several tests changed.
|
void |
responsibleChanged(SProject project,
TestNameResponsibilityEntry oldValue,
TestNameResponsibilityEntry newValue,
boolean isUserAction)
Called when test responsibility is changed.
|
void |
testsMuted(MuteInfo muteInfo)
Called when a set of tests are muted (with same mute properties).
|
void |
testsUnmuted(MuteInfo muteInfoBeforeUnmute,
java.util.Collection<STest> tests,
SUser user)
Called when a set of tests are unmuted (with same mute properties).
|
void buildStarted(@NotNull SRunningBuild build)
build
- started build.void buildSuccessful(@NotNull SRunningBuild build)
build
- finished build.void buildSuccessfulAfterFailure(@NotNull SRunningBuild build)
build
- finished build.void buildFailed(@NotNull SRunningBuild build)
build
- failed build.void buildFailedToStart(@NotNull SRunningBuild build)
build
- failed buildvoid buildFailedAfterSuccess(@NotNull SRunningBuild build)
build
- failed buildvoid buildProbablyHanged(@NotNull SRunningBuild build)
build
- hung build.void buildFailing(@NotNull SRunningBuild build, @Nullable BuildMessage1 message)
build
- failing build.message
- is always null since 7.1void responsibleChanged(@NotNull SBuildType buildType, @NotNull ResponsibilityEntry oldValue, @NotNull ResponsibilityEntry newValue, boolean isUserAction)
buildType
- configuration with changed responsibility.oldValue
- old responsibility.newValue
- new responsibility.isUserAction
- if the action was made by user.void responsibleChanged(@NotNull SProject project, @Nullable TestNameResponsibilityEntry oldValue, @NotNull TestNameResponsibilityEntry newValue, boolean isUserAction)
project
- the project in which test responsibility has changedoldValue
- old responsibility entrynewValue
- new responsibility entryisUserAction
- true if responsibility status was changed manually via Web UIvoid responsibleChanged(@NotNull SProject project, @NotNull java.util.Collection<TestName> testNames, @NotNull ResponsibilityEntry entry, boolean isUserAction)
project
- the projecttestNames
- collection of test namesentry
- new responsibility entry for each testisUserAction
- true if responsibility status was changed manually via Web UIvoid responsibleChanged(@NotNull SProject project, @NotNull java.util.Collection<BuildProblemInfo> buildProblems, @Nullable ResponsibilityEntry entry)
project
- the projectbuildProblems
- build problemsentry
- the new responsibility entryvoid labelingFailed(SBuild build, VcsRoot root, java.lang.Throwable exception)
build
- build for which labeling failed.root
- root for which labeling failed.exception
- labeling cause.void testsMuted(@NotNull MuteInfo muteInfo)
muteInfo
- mute infovoid testsUnmuted(@NotNull MuteInfo muteInfoBeforeUnmute, @NotNull java.util.Collection<STest> tests, @Nullable SUser user)
muteInfoBeforeUnmute
- the mute info on the moment of unmutetests
- the unmuted testsuser
- who performed the action (if known)void buildProblemsMuted(@NotNull MuteInfo muteInfo)
muteInfo
- mute infovoid buildProblemsUnmuted(@NotNull MuteInfo muteInfoBeforeUnmute, @NotNull java.util.Collection<BuildProblemInfo> problems, @Nullable SUser user)
muteInfoBeforeUnmute
- the mute info on the moment of unmuteproblems
- the unmuted problemsuser
- who performed the action (if known)