當前位置: 首頁>>代碼示例>>Java>>正文


Java TemplateMessageBuilder類代碼示例

本文整理匯總了Java中jetbrains.buildServer.notification.TemplateMessageBuilder的典型用法代碼示例。如果您正苦於以下問題:Java TemplateMessageBuilder類的具體用法?Java TemplateMessageBuilder怎麽用?Java TemplateMessageBuilder使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


TemplateMessageBuilder類屬於jetbrains.buildServer.notification包,在下文中一共展示了TemplateMessageBuilder類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: TelegramNotificator

import jetbrains.buildServer.notification.TemplateMessageBuilder; //導入依賴的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

示例2: TrayNotificator

import jetbrains.buildServer.notification.TemplateMessageBuilder; //導入依賴的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

示例3: VSONotificator

import jetbrains.buildServer.notification.TemplateMessageBuilder; //導入依賴的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


注:本文中的jetbrains.buildServer.notification.TemplateMessageBuilder類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。