Package jenkins.plugins.slack
Class SlackNotifierBuilder
- java.lang.Object
-
- jenkins.plugins.slack.SlackNotifierBuilder
-
public class SlackNotifierBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
withBaseUrl
public SlackNotifierBuilder withBaseUrl(String baseUrl)
-
withTeamDomain
public SlackNotifierBuilder withTeamDomain(String teamDomain)
-
withAuthToken
public SlackNotifierBuilder withAuthToken(String authToken)
-
withBotUser
public SlackNotifierBuilder withBotUser(boolean botUser)
-
withRoom
public SlackNotifierBuilder withRoom(String room)
-
withSendAs
public SlackNotifierBuilder withSendAs(String sendAs)
-
withIconEmoji
public SlackNotifierBuilder withIconEmoji(String iconEmoji)
-
withUsername
public SlackNotifierBuilder withUsername(String username)
-
withTokenCredentialId
public SlackNotifierBuilder withTokenCredentialId(String tokenCredentialId)
-
withStartNotification
public SlackNotifierBuilder withStartNotification(boolean startNotification)
-
withNotifyAborted
public SlackNotifierBuilder withNotifyAborted(boolean notifyAborted)
-
withNotifyNotBuilt
public SlackNotifierBuilder withNotifyNotBuilt(boolean notifyNotBuilt)
-
withNotifySuccess
public SlackNotifierBuilder withNotifySuccess(boolean notifySuccess)
-
withNotifyUnstable
public SlackNotifierBuilder withNotifyUnstable(boolean notifyUnstable)
-
withNotifyRegression
public SlackNotifierBuilder withNotifyRegression(boolean notifyRegression)
-
withNotifyFailure
public SlackNotifierBuilder withNotifyFailure(boolean notifyFailure)
-
withNotifyEveryFailure
public SlackNotifierBuilder withNotifyEveryFailure(boolean notifyEveryFailure)
-
withNotifyBackToNormal
public SlackNotifierBuilder withNotifyBackToNormal(boolean notifyBackToNormal)
-
withNotifyRepeatedFailure
public SlackNotifierBuilder withNotifyRepeatedFailure(boolean notifyRepeatedFailure)
-
withIncludeTestSummary
public SlackNotifierBuilder withIncludeTestSummary(boolean includeTestSummary)
-
withIncludeFailedTests
public SlackNotifierBuilder withIncludeFailedTests(boolean includeFailedTests)
-
withUploadFiles
public SlackNotifierBuilder withUploadFiles(boolean uploadFiles)
-
withAtrifactIncludes
public SlackNotifierBuilder withAtrifactIncludes(String artifactIncludes)
-
withMatrixTriggerMode
public SlackNotifierBuilder withMatrixTriggerMode(MatrixTriggerMode matrixTriggerMode)
-
withCommitInfoChoice
public SlackNotifierBuilder withCommitInfoChoice(CommitInfoChoice commitInfoChoice)
-
withIncludeCustomMessage
public SlackNotifierBuilder withIncludeCustomMessage(boolean includeCustomMessage)
-
withCustomMessage
public SlackNotifierBuilder withCustomMessage(String customMessage)
-
withCustomMessageSuccess
public SlackNotifierBuilder withCustomMessageSuccess(String customMessageSuccess)
-
withCustomMessageAborted
public SlackNotifierBuilder withCustomMessageAborted(String customMessageAborted)
-
withCustomMessageNotBuilt
public SlackNotifierBuilder withCustomMessageNotBuilt(String customMessageNotBuilt)
-
withCustomMessageUnstable
public SlackNotifierBuilder withCustomMessageUnstable(String customMessageUnstable)
-
withCustomMessageFailure
public SlackNotifierBuilder withCustomMessageFailure(String customMessageFailure)
-
withSlackUserIdResolver
public SlackNotifierBuilder withSlackUserIdResolver(SlackUserIdResolver slackUserIdResolver)
-
build
public SlackNotifier build()
-
-