当前位置: 首页>>代码示例>>Java>>正文


Java MuteInfo类代码示例

本文整理汇总了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");
}
 
开发者ID:dancing-elf,项目名称:teamcity-telegram-plugin,代码行数:9,代码来源:TelegramNotificator.java

示例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");
}
 
开发者ID:dancing-elf,项目名称:teamcity-telegram-plugin,代码行数:10,代码来源:TelegramNotificator.java

示例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");
}
 
开发者ID:dancing-elf,项目名称:teamcity-telegram-plugin,代码行数:9,代码来源:TelegramNotificator.java

示例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");
}
 
开发者ID:dancing-elf,项目名称:teamcity-telegram-plugin,代码行数:10,代码来源:TelegramNotificator.java

示例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());
  }
}
 
开发者ID:JetBrains,项目名称:teamcity-achievements,代码行数:14,代码来源:ServerEventsAdapter.java

示例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());
    }
  }
}
 
开发者ID:JetBrains,项目名称:teamcity-achievements,代码行数:13,代码来源:ServerEventsAdapter.java

示例7: notifyTestsMuted

import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsMuted(@NotNull Collection<STest> tests, @NotNull MuteInfo muteInfo, @NotNull Set<SUser> users) {
}
 
开发者ID:it-committed,项目名称:glip-notificator,代码行数:4,代码来源:Notificator.java

示例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) {
}
 
开发者ID:it-committed,项目名称:glip-notificator,代码行数:4,代码来源:Notificator.java

示例9: notifyTestsMuted

import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsMuted(Collection<STest> tests, MuteInfo muteInfo, Set<SUser> users) {
    // ignored
}
 
开发者ID:timomeinen,项目名称:team-piazza,代码行数:5,代码来源:PiazzaNotificator.java

示例10: notifyTestsUnmuted

import jetbrains.buildServer.serverSide.mute.MuteInfo; //导入依赖的package包/类
@Override
public void notifyTestsUnmuted(Collection<STest> tests, MuteInfo muteInfo, SUser user, Set<SUser> users) {
    // ignored
}
 
开发者ID:timomeinen,项目名称:team-piazza,代码行数:5,代码来源:PiazzaNotificator.java

示例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.
}
 
开发者ID:timomeinen,项目名称:team-piazza,代码行数:5,代码来源:PiazzaNotificator.java

示例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.
}
 
开发者ID:timomeinen,项目名称:team-piazza,代码行数:5,代码来源:PiazzaNotificator.java

示例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);
}
 
开发者ID:JetBrains,项目名称:tc-vso-rooms,代码行数:7,代码来源:VSONotificator.java

示例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);
}
 
开发者ID:JetBrains,项目名称:tc-vso-rooms,代码行数:6,代码来源:VSONotificator.java

示例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);
}
 
开发者ID:JetBrains,项目名称:tc-vso-rooms,代码行数:7,代码来源:VSONotificator.java


注:本文中的jetbrains.buildServer.serverSide.mute.MuteInfo类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。