• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Java NotificatorRegistry类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中jetbrains.buildServer.notification.NotificatorRegistry的典型用法代码示例。如果您正苦于以下问题:Java NotificatorRegistry类的具体用法?Java NotificatorRegistry怎么用?Java NotificatorRegistry使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



NotificatorRegistry类属于jetbrains.buildServer.notification包,在下文中一共展示了NotificatorRegistry类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: MsTeamsNotificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public MsTeamsNotificator(NotificatorRegistry notificatorRegistry,
                        SBuildServer sBuildServer,
                        MsTeamsNotificationMainSettings configSettings,
                        MsTeamsNotificationFactory factory,
                        MsTeamsNotificationPayloadManager manager){
    Loggers.ACTIVITIES.debug("Registering MsTeamsNotificator...");

    userProps = new ArrayList<UserPropertyInfo>();
    userProps.add(new UserPropertyInfo(SLACK_USERNAME_KEY, "MsTeams Username"));
    notificatorRegistry.register(this, userProps);
    mainConfig = configSettings;
    notificationFactory = factory;
    payloadManager = manager;
    buildServer = sBuildServer;
    notificationUtility = new NotificationUtility();
}
 
开发者ID:spyder007,项目名称:teamcity-msteams-notifier,代码行数:17,代码来源:MsTeamsNotificator.java


示例2: SlackNotificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public SlackNotificator(NotificatorRegistry notificatorRegistry,
                        SBuildServer sBuildServer,
                        SlackNotificationMainSettings configSettings,
                        SlackNotificationFactory factory,
                        SlackNotificationPayloadManager manager){
    Loggers.ACTIVITIES.debug("Registering SlackNotificator...");

    userProps = new ArrayList<UserPropertyInfo>();
    userProps.add(new UserPropertyInfo(SLACK_USERNAME_KEY, "Slack Username"));
    notificatorRegistry.register(this, userProps);
    mainConfig = configSettings;
    notificationFactory = factory;
    payloadManager = manager;
    buildServer = sBuildServer;
    notificationUtility = new NotificationUtility();
}
 
开发者ID:PeteGoo,项目名称:tcSlackBuildNotifier,代码行数:17,代码来源:SlackNotificator.java


示例3: TelegramNotificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public TelegramNotificator(@NotNull NotificatorRegistry registry,
                           @NotNull TelegramSettingsManager settingsManager,
                           @NotNull TelegramBotManager botManager,
                           @NotNull TemplateMessageBuilder messageBuilder)
    throws IOException {
  this.botManager = botManager;
  this.messageBuilder = messageBuilder;
  // Plugin will not work if that statement fails, so don't suppress exception here
  freeMarkerConfig = createFreeMarkerConfig(settingsManager.getSettingsDir());
  registry.register(this, USER_PROPERTIES);
}
 
开发者ID:dancing-elf,项目名称:teamcity-telegram-plugin,代码行数:12,代码来源:TelegramNotificator.java


示例4: TrayNotificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public TrayNotificator(@NotNull final NotificatorRegistry notificatorRegistry,
                       @NotNull final SettingsPageExtension settingsExtension,
                       @NotNull final NotificationHandler notificationHandler,
                       @NotNull final TemplateMessageBuilder messageBuilder) {
    myMessageBuilder = messageBuilder;
    notificatorRegistry.register(this);
    settingsExtension.register();
    myNotificationHandler = notificationHandler;
}
 
开发者ID:dtretyakov,项目名称:teamcity-tray-notifier,代码行数:10,代码来源:TrayNotificator.java


示例5: VSONotificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public VSONotificator(@NotNull final NotificatorRegistry registry,
                      @NotNull final TemplateMessageBuilder builder,
                      @NotNull final VSONotificatorConfigHolder configHolder) throws IOException {
  myMessageBuilder = builder;
  myConfig = configHolder.getConfig();
  myMessageSender = new VSOMessageSender(new VSOTeamRoomsAPIImpl());
  registry.register(this);
}
 
开发者ID:JetBrains,项目名称:tc-vso-rooms,代码行数:9,代码来源:VSONotificator.java


示例6: Notificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public Notificator(NotificatorRegistry notificatorRegistry) throws IOException {
    notificatorRegistry.register(this, Lists.newArrayList());
}
 
开发者ID:it-committed,项目名称:glip-notificator,代码行数:4,代码来源:Notificator.java


示例7: YammerNotificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public YammerNotificator(NotificatorRegistry notificatorRegistry,
                         YammerNotificationMainSettings configSettings
) {
    mainConfig = configSettings;
    registerNotificatorAndUserProperties(notificatorRegistry);
}
 
开发者ID:iguissouma,项目名称:teamcity-yammer-notifier,代码行数:7,代码来源:YammerNotificator.java


示例8: registerNotificatorAndUserProperties

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
private void registerNotificatorAndUserProperties(NotificatorRegistry notificatorRegistry) {
    ArrayList<UserPropertyInfo> userPropertyInfos = getUserPropertyInfosList();
    notificatorRegistry.register(this, userPropertyInfos);
}
 
开发者ID:iguissouma,项目名称:teamcity-yammer-notifier,代码行数:5,代码来源:YammerNotificator.java


示例9: ActorNotifier

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public ActorNotifier(NotificatorRegistry notificatorRegistry) throws IOException {
    ArrayList<UserPropertyInfo> userProps = new ArrayList<UserPropertyInfo>();
    userProps.add(new UserPropertyInfo(PROPERTY_TOKEN, "Group Integration Token"));
    notificatorRegistry.register(this, userProps);
}
 
开发者ID:dsaved,项目名称:africhat-platform-0.1,代码行数:6,代码来源:ActorNotifier.java


示例10: PiazzaNotificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public PiazzaNotificator(NotificatorRegistry registry) {
    List<UserPropertyInfo> userProps = Collections
            .singletonList(new UserPropertyInfo(PROPERTY_USER_IMAGE_NAME, "Your image URL (Leave empty to use Gravatar.com)"));
    registry.register(this, userProps);
}
 
开发者ID:timomeinen,项目名称:team-piazza,代码行数:6,代码来源:PiazzaNotificator.java


示例11: PiazzaNotificator

import jetbrains.buildServer.notification.NotificatorRegistry; //导入依赖的package包/类
public PiazzaNotificator(NotificatorRegistry registry) {
    List<UserPropertyInfo> userProps = Collections
            .singletonList(new UserPropertyInfo(PROPERTY_USER_IMAGE_NAME, "Your image URL"));
    registry.register(this, userProps);
}
 
开发者ID:mironych,项目名称:Team-Piazza,代码行数:6,代码来源:PiazzaNotificator.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java PeerStruct类代码示例发布时间:2022-05-22
下一篇:
Java RefreshServiceAclsRequest类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap