本文整理汇总了Java中jetbrains.buildServer.serverSide.mute.MuteInfo类的典型用法代码示例。如果您正苦于以下问题:Java MuteInfo类的具体用法?Java MuteInfo怎么用?Java MuteInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MuteInfo类属于jetbrains.buildServer.serverSide.mute包,在下文中一共展示了MuteInfo类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: notifyTestsMuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsMuted(@NotNull Collection<STest> tests,
@NotNull MuteInfo muteInfo,
@NotNull Set<SUser> users) {
Map<String, Object> root = messageBuilder.
getTestsMutedMap(tests, muteInfo, users);
this.sendNotification(root, users, "tests_muted");
}
示例2: notifyTestsUnmuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsUnmuted(@NotNull Collection<STest> tests,
@NotNull MuteInfo muteInfo,
@Nullable SUser user,
@NotNull Set<SUser> users) {
Map<String, Object> root = messageBuilder.
getTestsUnmutedMap(tests, muteInfo, user, users);
this.sendNotification(root, users, "tests_unmuted");
}
示例3: notifyBuildProblemsMuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyBuildProblemsMuted(@NotNull Collection<BuildProblemInfo> buildProblems,
@NotNull MuteInfo muteInfo,
@NotNull Set<SUser> users) {
Map<String, Object> root = messageBuilder.
getBuildProblemsMutedMap(buildProblems, muteInfo, users);
this.sendNotification(root, users, "build_problems_muted");
}
示例4: notifyBuildProblemsUnmuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyBuildProblemsUnmuted(@NotNull Collection<BuildProblemInfo> buildProblems,
@NotNull MuteInfo muteInfo,
@Nullable SUser user,
@NotNull Set<SUser> users) {
Map<String, Object> root = messageBuilder.
getBuildProblemsMutedMap(buildProblems, muteInfo, users);
this.sendNotification(root, users, "build_problems_unmuted");
}
示例5: testsMuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void testsMuted(@NotNull MuteInfo muteInfo) {
super.testsMuted(muteInfo);
User user = muteInfo.getMutingUser();
if (user == null) return;
if (muteInfo.getAutoUnmuteOptions().getUnmuteByTime() == null) return;
for (STest ignored : muteInfo.getTests()) {
registerUserEvent(user, AchievementEvents.testBombed.name());
}
}
示例6: testsUnmuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void testsUnmuted(@Nullable SUser user, @NotNull Map<MuteInfo, Collection<STest>> unmutedGroups) {
super.testsUnmuted(user, unmutedGroups);
if (user == null) return;
for (MuteInfo mi: unmutedGroups.keySet()) {
for (STest ignored : unmutedGroups.get(mi)) {
registerUserEvent(user, AchievementEvents.testDisarmed.name());
}
}
}
示例7: notifyTestsMuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsMuted(@NotNull Collection<STest> tests, @NotNull MuteInfo muteInfo, @NotNull Set<SUser> users) {
}
示例8: notifyTestsUnmuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsUnmuted(@NotNull Collection<STest> tests, @NotNull MuteInfo muteInfo, @Nullable SUser user, @NotNull Set<SUser> users) {
}
示例9: notifyTestsMuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsMuted(Collection<STest> tests, MuteInfo muteInfo, Set<SUser> users) {
// ignored
}
示例10: notifyTestsUnmuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsUnmuted(Collection<STest> tests, MuteInfo muteInfo, SUser user, Set<SUser> users) {
// ignored
}
示例11: notifyBuildProblemsMuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyBuildProblemsMuted(@NotNull Collection<BuildProblemInfo> buildProblemInfos, @NotNull MuteInfo muteInfo, @NotNull Set<SUser> sUsers) {
//To change body of implemented methods use File | Settings | File Templates.
}
示例12: notifyBuildProblemsUnmuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyBuildProblemsUnmuted(@NotNull Collection<BuildProblemInfo> buildProblemInfos, @NotNull MuteInfo muteInfo, @Nullable SUser sUser, @NotNull Set<SUser> sUsers) {
//To change body of implemented methods use File | Settings | File Templates.
}
示例13: notifyTestsMuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsMuted(@NotNull Collection<STest> tests, @NotNull MuteInfo muteInfo, @NotNull Set<SUser> users) {
final Map<String, Object> root = myMessageBuilder.getTestsMutedMap(tests, muteInfo, users);
root.put("mutingUser", getUserDisplayName(muteInfo.getMutingUser()));
sendNotification(users, root, TEST_MUTED_EVENT);
}
示例14: notifyTestsUnmuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsUnmuted(@NotNull Collection<STest> tests, @NotNull MuteInfo muteInfo, @Nullable SUser user, @NotNull Set<SUser> users) {
final Map<String, Object> root = myMessageBuilder.getTestsUnmutedMap(tests, muteInfo, user, users);
sendNotification(users, root, TEST_UNMUTED_EVENT);
}
示例15: notifyBuildProblemsMuted
import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyBuildProblemsMuted(@NotNull Collection<BuildProblemInfo> buildProblems, @NotNull MuteInfo muteInfo, @NotNull Set<SUser> users) {
final Map<String, Object> root = myMessageBuilder.getBuildProblemsMutedMap(buildProblems, muteInfo, users);
root.put("mutingUser", getUserDisplayName(muteInfo.getMutingUser()));
sendNotification(users, root, BUILD_PROBLEMS_MUTED_EVENT);
}