Package jenkins.plugins.slack
Class ActiveNotifier.MessageBuilder
- java.lang.Object
-
- jenkins.plugins.slack.ActiveNotifier.MessageBuilder
-
- Enclosing class:
- ActiveNotifier
public static class ActiveNotifier.MessageBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description MessageBuilder(SlackNotifier notifier, AbstractBuild build, BuildAwareLogger log, TokenExpander tokenExpander)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActiveNotifier.MessageBuilder
append(Object string)
ActiveNotifier.MessageBuilder
append(String string)
ActiveNotifier.MessageBuilder
appendCustomMessage(Result buildResult)
ActiveNotifier.MessageBuilder
appendDuration()
ActiveNotifier.MessageBuilder
appendFailedTests()
ActiveNotifier.MessageBuilder
appendOpenLink()
ActiveNotifier.MessageBuilder
appendStatusMessage()
ActiveNotifier.MessageBuilder
appendTestSummary()
String
escape(String string)
String
toString()
-
-
-
Constructor Detail
-
MessageBuilder
public MessageBuilder(SlackNotifier notifier, AbstractBuild build, BuildAwareLogger log, TokenExpander tokenExpander)
-
-
Method Detail
-
appendStatusMessage
public ActiveNotifier.MessageBuilder appendStatusMessage()
-
append
public ActiveNotifier.MessageBuilder append(String string)
-
append
public ActiveNotifier.MessageBuilder append(Object string)
-
appendOpenLink
public ActiveNotifier.MessageBuilder appendOpenLink()
-
appendDuration
public ActiveNotifier.MessageBuilder appendDuration()
-
appendTestSummary
public ActiveNotifier.MessageBuilder appendTestSummary()
-
appendFailedTests
public ActiveNotifier.MessageBuilder appendFailedTests()
-
appendCustomMessage
public ActiveNotifier.MessageBuilder appendCustomMessage(Result buildResult)
-
-