public class ConfigureChainNotification extends ChainActionSupport implements PlanEditSecurityAware
BambooActionSupport.JSONStatus
chainBranchManager, chainExecutionManager, executableAgentsHelper, stageStatusHelper
buildNumber, jiraApplinksService, repositoryDefinitionManager, resultsSummaryManager, vcsRepositoryConfigurationService
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ConfigureChainNotification() |
Modifier and Type | Method and Description |
---|---|
String |
addNotification() |
protected com.opensymphony.webwork.dispatcher.json.JSONObject |
buildJsonObject()
Builds JSONObject and sets 'status', 'errors' and 'fieldErrors' properties accordingly.
|
String |
delete() |
String |
deleteAll() |
String |
doDefault()
Default action just sends to the input
|
String |
edit() |
List<NotificationType> |
getAllNotificationEventTypes()
Method to get combined notification types and notification conditions for the ui
|
List<NotificationRecipient> |
getAllNotificationRecipientTypes()
Method to get notification recipients for the ui
|
List<com.atlassian.user.Group> |
getAvailableGroups() |
Map<String,NotificationRecipient> |
getAvailableRecipientTypes() |
List<String> |
getAvailableUsers() |
String |
getConditionKey() |
String |
getEdit() |
long |
getLastModified() |
protected com.atlassian.mail.server.MailServerManager |
getMailServerManager() |
long |
getNotificationId() |
String |
getNotificationRecipientType() |
String |
getPreviousTypeData() |
boolean |
isJabberServerConfigured() |
boolean |
isMailServerConfigured() |
boolean |
isSaved() |
void |
setConditionKey(String conditionKey) |
void |
setEdit(String edit) |
void |
setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager) |
void |
setLastModified(long lastModified) |
void |
setNotificationId(long notificationRowId) |
void |
setNotificationManager(NotificationManager notificationManager) |
void |
setNotificationRecipientType(String notificationRecipientType) |
void |
setPreviousTypeData(String previousTypeData) |
void |
setSaved(boolean saved) |
String |
update() |
void |
validateNotification() |
getBranchIdentifiers, getChain, getChainBranches, getChainBranchesByDate, getChainResult, getChainResultNumber, getErrorAccessor, getImmutableChain, getImmutableChainBranches, getImmutableChainStage, getMutableChain, getMutableChainStage, getSiblingBranchIdentifiers, getStageStatusHelper, setChain, setChainBranchManager, setChainExecutionManager, setChainResult, setChainResultNumber, setChainStage, setDecoratingAggregatedChainErrorAccessor, setExecutableAgentsHelper, setStageStatusHelper
buildWebPanelContext, getBuildKey, getBuildNumber, getCurrentlyBuildingPlans, getFirstNotRunnableStage, getImmutablePlan, getJobsWebItemsForSection, getMutablePlan, getPlan, getPlanKey, getPlanResultKey, getProject, getResultsSummaryManager, getSecuredDomainObject, getTypedPlanKey, getTypedPlanResultKey, isContinuable, isJiraApplicationLinkDefined, isRestartable, planNotFound, setBuildContextFactory, setBuildKey, setBuildNumber, setDecoratingErrorAccessor, setJiraApplinksService, setPlan, setPlanExecutionManager, setPlanKey, setPlanResultKey, setRepositoryDefinitionManager, setResultsSummaryManager, setVcsRepositoryConfigurationService
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getAllErrorMessages
public String doDefault() throws Exception
BambooActionSupport
doDefault
in class BambooActionSupport
Exception
public String addNotification()
@NotNull protected com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject() throws com.opensymphony.webwork.dispatcher.json.JSONException
BambooActionSupport
buildJsonObject
in class BambooActionSupport
com.opensymphony.webwork.dispatcher.json.JSONException
public String delete()
public String deleteAll()
public String edit()
public String update()
public void validateNotification()
public Map<String,NotificationRecipient> getAvailableRecipientTypes()
public List<NotificationRecipient> getAllNotificationRecipientTypes()
NotificationRecipient
types to display on the UIpublic List<NotificationType> getAllNotificationEventTypes()
NotificationType
options to display on the UIpublic List<com.atlassian.user.Group> getAvailableGroups()
public long getNotificationId()
public void setNotificationId(long notificationRowId)
public String getEdit()
public void setEdit(String edit)
public long getLastModified()
public void setLastModified(long lastModified)
public String getNotificationRecipientType()
public void setNotificationRecipientType(String notificationRecipientType)
public String getConditionKey()
public void setConditionKey(String conditionKey)
public void setNotificationManager(NotificationManager notificationManager)
public boolean isMailServerConfigured()
public void setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)
public boolean isJabberServerConfigured()
protected com.atlassian.mail.server.MailServerManager getMailServerManager()
public String getPreviousTypeData()
public void setPreviousTypeData(String previousTypeData)
public boolean isSaved()
public void setSaved(boolean saved)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.