@Test public void testSetEnabled() { assertTrue(slacknotificationAllEnabled.getEnabled()); slacknotificationAllEnabled.setEnabled(false); assertFalse(slacknotificationAllEnabled.getEnabled()); }
public void setEnabled(Boolean enabled) { this.enabled = enabled; }
SlackNotificationConfig { public void setEnabled(Boolean enabled) { this.enabled = enabled; } }
SlackNotificationConfig { public void setEnabled(Boolean enabled) { this.enabled = enabled; } @SuppressWarnings("unchecked")  SlackNotificationConfig(Element e);  SlackNotificationConfig(String token,
								   String channel,
								   String teamName,
								   String filterBranchName,
								   Boolean enabled,
								   BuildState states,
								   boolean buildTypeAllEnabled,
								   boolean buildTypeSubProjects,
								   Set<String> enabledBuildTypes,
								   boolean mentionChannelEnabled,
								   boolean mentionSlackUserEnabled,
								   boolean mentionHereEnabled,
								   boolean mentionWhoTriggeredEnabled); }
SlackNotificationConfig { public void setEnabled(Boolean enabled) { this.enabled = enabled; } @SuppressWarnings("unchecked")  SlackNotificationConfig(Element e);  SlackNotificationConfig(String token,
								   String channel,
								   String teamName,
								   String filterBranchName,
								   Boolean enabled,
								   BuildState states,
								   boolean buildTypeAllEnabled,
								   boolean buildTypeSubProjects,
								   Set<String> enabledBuildTypes,
								   boolean mentionChannelEnabled,
								   boolean mentionSlackUserEnabled,
								   boolean mentionHereEnabled,
								   boolean mentionWhoTriggeredEnabled); Element getAsElement(); boolean isEnabledForBuildType(SBuildType sBuildType); String getBuildTypeCountAsFriendlyString(); Boolean getEnabled(); void setEnabled(Boolean enabled); BuildState getBuildStates(); void setBuildStates(BuildState states); String getToken(); void setToken(String apiToken); String getChannel(); void setChannel(String channel); String getTeamName(); void setTeamName(String teamName); String getUniqueKey(); void setUniqueKey(String uniqueKey); String getEnabledListAsString(); String getSlackNotificationEnabledAsChecked(); String getStateAllAsChecked(); String getStateBuildStartedAsChecked(); String getStateBuildFinishedAsChecked(); String getStateBeforeFinishedAsChecked(); String getStateResponsibilityChangedAsChecked(); String getStateBuildInterruptedAsChecked(); String getStateBuildSuccessfulAsChecked(); String getStateBuildFixedAsChecked(); String getStateBuildFailedAsChecked(); String getStateBuildBrokenAsChecked(); Boolean isEnabledForAllBuildsInProject(); void enableForAllBuildsInProject(Boolean allBuildTypesEnabled); Boolean isEnabledForSubProjects(); void enableForSubProjects(Boolean subProjectsEnabled); void clearAllEnabledBuildsInProject(); void enableBuildInProject(String buildTypeId); void setMentionChannelEnabled(boolean mentionChannelEnabled); boolean getMentionChannelEnabled(); void setMentionSlackUserEnabled(boolean mentionSlackUserEnabled); boolean getMentionSlackUserEnabled(); void setMentionHereEnabled(boolean mentionHereEnabled); boolean getMentionHereEnabled(); boolean hasCustomContent(); void setHasCustomContent(boolean customContent); SlackNotificationContentConfig getContent(); void setContent(SlackNotificationContentConfig content); String getFilterBranchName(); void setFilterBranchName(String filterBranchName); boolean isMentionWhoTriggeredEnabled(); void setMentionWhoTriggeredEnabled(boolean mentionWhoTriggeredEnabled); }
SlackNotificationConfig { public void setEnabled(Boolean enabled) { this.enabled = enabled; } @SuppressWarnings("unchecked")  SlackNotificationConfig(Element e);  SlackNotificationConfig(String token,
								   String channel,
								   String teamName,
								   String filterBranchName,
								   Boolean enabled,
								   BuildState states,
								   boolean buildTypeAllEnabled,
								   boolean buildTypeSubProjects,
								   Set<String> enabledBuildTypes,
								   boolean mentionChannelEnabled,
								   boolean mentionSlackUserEnabled,
								   boolean mentionHereEnabled,
								   boolean mentionWhoTriggeredEnabled); Element getAsElement(); boolean isEnabledForBuildType(SBuildType sBuildType); String getBuildTypeCountAsFriendlyString(); Boolean getEnabled(); void setEnabled(Boolean enabled); BuildState getBuildStates(); void setBuildStates(BuildState states); String getToken(); void setToken(String apiToken); String getChannel(); void setChannel(String channel); String getTeamName(); void setTeamName(String teamName); String getUniqueKey(); void setUniqueKey(String uniqueKey); String getEnabledListAsString(); String getSlackNotificationEnabledAsChecked(); String getStateAllAsChecked(); String getStateBuildStartedAsChecked(); String getStateBuildFinishedAsChecked(); String getStateBeforeFinishedAsChecked(); String getStateResponsibilityChangedAsChecked(); String getStateBuildInterruptedAsChecked(); String getStateBuildSuccessfulAsChecked(); String getStateBuildFixedAsChecked(); String getStateBuildFailedAsChecked(); String getStateBuildBrokenAsChecked(); Boolean isEnabledForAllBuildsInProject(); void enableForAllBuildsInProject(Boolean allBuildTypesEnabled); Boolean isEnabledForSubProjects(); void enableForSubProjects(Boolean subProjectsEnabled); void clearAllEnabledBuildsInProject(); void enableBuildInProject(String buildTypeId); void setMentionChannelEnabled(boolean mentionChannelEnabled); boolean getMentionChannelEnabled(); void setMentionSlackUserEnabled(boolean mentionSlackUserEnabled); boolean getMentionSlackUserEnabled(); void setMentionHereEnabled(boolean mentionHereEnabled); boolean getMentionHereEnabled(); boolean hasCustomContent(); void setHasCustomContent(boolean customContent); SlackNotificationContentConfig getContent(); void setContent(SlackNotificationContentConfig content); String getFilterBranchName(); void setFilterBranchName(String filterBranchName); boolean isMentionWhoTriggeredEnabled(); void setMentionWhoTriggeredEnabled(boolean mentionWhoTriggeredEnabled);  }