本文整理匯總了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);
}
示例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;
}
示例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);
}