com.atlassian.bamboo.ww2.actions.admin.instantmessagingserver
Class ConfigureInstantMessagingServer

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by com.atlassian.bamboo.ww2.actions.admin.instantmessagingserver.ConfigureInstantMessagingServer
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
CreateInstantMessagingServer

public class ConfigureInstantMessagingServer
extends GlobalAdminAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected  BambooSmackClient bambooSmackClient
           
protected  InstantMessagingServerDefinition currentInstantMessagingServer
           
protected  InstantMessagingServerManager instantMessagingServerManager
           
static java.lang.String XMPP_RESOURCE_PATTERN
           
 
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ConfigureInstantMessagingServer()
           
 
Method Summary
protected  InstantMessagingServerDefinition createInstantMessagingServerDefinition()
           
 java.lang.String doAdd()
           
 java.lang.String doCreate()
           
 java.lang.String doDefault()
          Default action just sends to the input
 java.lang.String doDelete()
           
 java.lang.String doEdit()
           
 java.lang.String doRead()
           
 long getAffectedInstantMessagingServerId()
           
 InstantMessagingServerDefinition getCurrentInstantMessagingServer()
           
 java.lang.String getHost()
           
 long getInstantMessagingServerId()
           
 java.util.Collection<InstantMessagingServerDefinition> getInstantMessagingServers()
           
 java.lang.String getMessageTest()
           
 java.lang.String getName()
           
 java.lang.String getPassword()
           
 java.lang.String getPasswordChange()
           
 java.lang.String getPort()
           
 java.lang.String getResource()
           
 java.lang.String getTestRecipients()
           
 java.lang.String getUsername()
           
 boolean isEnforceLegacySsl()
           
 boolean isSecureConnectionRequired()
           
 void setAffectedInstantMessagingServerId(long affectedInstantMessagingServerId)
           
 void setBambooSmackClient(BambooSmackClient bambooSmackClient)
           
 void setCurrentInstantMessagingServer(InstantMessagingServerDefinition currentInstantMessagingServer)
           
 void setEnforceLegacySsl(boolean enforceLegacySsl)
           
 void setHost(java.lang.String host)
           
 void setInstantMessagingServerId(long instantMessagingServerId)
           
 void setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)
           
 void setMessageTest(java.lang.String messageTest)
           
 void setName(java.lang.String name)
           
 void setPassword(java.lang.String password)
           
 void setPasswordChange(java.lang.String passwordChange)
           
 void setPort(java.lang.String port)
           
 void setResource(java.lang.String resource)
           
 void setSecureConnectionRequired(boolean secureConnectionRequired)
           
 void setTestRecipients(java.lang.String testRecipients)
           
 void setUsername(java.lang.String username)
           
 void validate()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCommentManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setPlanExecutionManager, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Field Detail

XMPP_RESOURCE_PATTERN

public static final java.lang.String XMPP_RESOURCE_PATTERN
See Also:
Constant Field Values

currentInstantMessagingServer

protected InstantMessagingServerDefinition currentInstantMessagingServer

instantMessagingServerManager

protected InstantMessagingServerManager instantMessagingServerManager

bambooSmackClient

protected BambooSmackClient bambooSmackClient
Constructor Detail

ConfigureInstantMessagingServer

public ConfigureInstantMessagingServer()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Description copied from class: BambooActionSupport
Default action just sends to the input

Overrides:
doDefault in class BambooActionSupport
Throws:
java.lang.Exception

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

doAdd

public java.lang.String doAdd()
                       throws java.lang.Exception
Throws:
java.lang.Exception

doCreate

public java.lang.String doCreate()
                          throws java.lang.Exception
Throws:
java.lang.Exception

doRead

public java.lang.String doRead()
                        throws java.lang.Exception
Throws:
java.lang.Exception

doEdit

public java.lang.String doEdit()
                        throws java.lang.Exception
Throws:
java.lang.Exception

doDelete

public java.lang.String doDelete()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getInstantMessagingServers

public java.util.Collection<InstantMessagingServerDefinition> getInstantMessagingServers()

setBambooSmackClient

public void setBambooSmackClient(BambooSmackClient bambooSmackClient)

setInstantMessagingServerManager

public void setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)

getInstantMessagingServerId

public long getInstantMessagingServerId()

setInstantMessagingServerId

public void setInstantMessagingServerId(long instantMessagingServerId)

getCurrentInstantMessagingServer

public InstantMessagingServerDefinition getCurrentInstantMessagingServer()

setCurrentInstantMessagingServer

public void setCurrentInstantMessagingServer(InstantMessagingServerDefinition currentInstantMessagingServer)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getHost

public java.lang.String getHost()

setHost

public void setHost(java.lang.String host)

getPort

public java.lang.String getPort()

setPort

public void setPort(java.lang.String port)

getUsername

public java.lang.String getUsername()

setUsername

public void setUsername(java.lang.String username)

getPasswordChange

public java.lang.String getPasswordChange()

setPasswordChange

public void setPasswordChange(java.lang.String passwordChange)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getResource

public java.lang.String getResource()

setResource

public void setResource(java.lang.String resource)

isEnforceLegacySsl

public boolean isEnforceLegacySsl()

setEnforceLegacySsl

public void setEnforceLegacySsl(boolean enforceLegacySsl)

isSecureConnectionRequired

public boolean isSecureConnectionRequired()

setSecureConnectionRequired

public void setSecureConnectionRequired(boolean secureConnectionRequired)

getMessageTest

public java.lang.String getMessageTest()

setMessageTest

public void setMessageTest(java.lang.String messageTest)

getTestRecipients

public java.lang.String getTestRecipients()

setTestRecipients

public void setTestRecipients(java.lang.String testRecipients)

getAffectedInstantMessagingServerId

public long getAffectedInstantMessagingServerId()

setAffectedInstantMessagingServerId

public void setAffectedInstantMessagingServerId(long affectedInstantMessagingServerId)

createInstantMessagingServerDefinition

@NotNull
protected InstantMessagingServerDefinition createInstantMessagingServerDefinition()


Copyright © 2010 Atlassian. All Rights Reserved.