|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.bamboo.ww2.BambooActionSupport com.atlassian.bamboo.configuration.AbstractLicenseAction com.atlassian.bamboo.configuration.AbstractConfigurationAction
public abstract class AbstractConfigurationAction
This provides common System configuration behaviour - used in both the welcome wizard and the System Properties page.
Field Summary | |
---|---|
static java.lang.String |
SETUP_MARKER
|
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
buildManager, CONFIRM, cookieCutter, dashboardCachingManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
protected |
AbstractConfigurationAction()
|
Method Summary | |
---|---|
protected void |
customPostProcess(AdministrationConfiguration administrationConfiguration)
|
java.lang.String |
doExecute()
Update the system with the adimistration configuration. |
boolean |
getAcceptRemoteApiCalls()
Informs the UI if the Remote API option is enabled. |
java.lang.String |
getBaseUrl()
Supply the form with the base url so the form does not loose it |
java.lang.String |
getBuildDirectory()
|
BuilderManager |
getBuilderManager()
|
java.lang.String |
getDefaultBaseUrl()
See if we can determine the default base url from the servlet request... |
java.lang.String |
getEmailSubjectPrefix()
What email subject prefix should Bamboo use? |
FileBasedPersisterOptions |
getFilePersisterOptions()
Provide the GUI with the file persister |
java.lang.String |
getFromEmailAddress()
Which email address should Bamboo use to send emails from. |
boolean |
getGzipCompression()
Informs the UI if the Gzip option is enabled. |
java.lang.String |
getInstanceName()
Get and Set the name of the Bamboo Instance |
java.lang.String |
getRepositoryPollingPeriod()
|
java.lang.String |
getSmtpServer()
Supply the form with the base url so the form does not loose it |
void |
setAcceptRemoteApiCalls(boolean enabled)
The user has enabled the remote API (via a checkbox) |
void |
setBaseUrl(java.lang.String url)
Accept the base url of the system from the html form. |
void |
setBuildDirectory(java.lang.String buildDirectory)
|
void |
setBuilderManager(BuilderManager builderManager)
|
void |
setEmailSubjectPrefix(java.lang.String emailSubjectPrefix)
Accept the email subject prefix from the html form. |
void |
setFileBasedPersisterOptions(FileBasedPersisterOptions myFileBasedPersisterOptions)
|
void |
setFromEmailAddress(java.lang.String fromEmailAddress)
Accept the email originating address from the html form. |
void |
setGzipCompression(boolean enabled)
The user has selected the GZip webpages (via a checkbox) |
void |
setInstanceName(java.lang.String instanceName)
|
void |
setRepositoryPollingPeriod(java.lang.String repositoryPollingPeriod)
|
void |
setSmtpServer(java.lang.String smtpServerUrl)
Accept the SMTP server url of the system from the html form. |
void |
validate()
|
Methods inherited from class com.atlassian.bamboo.configuration.AbstractLicenseAction |
---|
getLicense, setLicense |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, 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 |
---|
public static final java.lang.String SETUP_MARKER
Constructor Detail |
---|
protected AbstractConfigurationAction()
Method Detail |
---|
public void validate()
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public java.lang.String getBaseUrl()
getBaseUrl
in class BambooActionSupport
public void setBaseUrl(java.lang.String url)
url
- The emailpublic java.lang.String getSmtpServer()
public void setSmtpServer(java.lang.String smtpServerUrl)
smtpServerUrl
- The email serverpublic java.lang.String getEmailSubjectPrefix()
public void setEmailSubjectPrefix(java.lang.String emailSubjectPrefix)
emailSubjectPrefix
- public java.lang.String getFromEmailAddress()
public void setFromEmailAddress(java.lang.String fromEmailAddress)
fromEmailAddress
- The email address bamboo sends email frompublic FileBasedPersisterOptions getFilePersisterOptions()
public void setFileBasedPersisterOptions(FileBasedPersisterOptions myFileBasedPersisterOptions)
public java.lang.String getRepositoryPollingPeriod()
public void setRepositoryPollingPeriod(java.lang.String repositoryPollingPeriod)
public java.lang.String getBuildDirectory()
public void setBuildDirectory(java.lang.String buildDirectory)
public void setGzipCompression(boolean enabled)
enabled
- set to "on" by the webwork frameworkpublic boolean getGzipCompression()
public void setAcceptRemoteApiCalls(boolean enabled)
enabled
- set to "on" by the webwork frameworkpublic boolean getAcceptRemoteApiCalls()
public java.lang.String doExecute() throws java.lang.Exception
doExecute
in class BambooActionSupport
java.lang.Exception
- something nasty went wrongprotected void customPostProcess(AdministrationConfiguration administrationConfiguration)
public void setBuilderManager(BuilderManager builderManager)
public BuilderManager getBuilderManager()
public java.lang.String getDefaultBaseUrl()
public java.lang.String getInstanceName()
getInstanceName
in class BambooActionSupport
public void setInstanceName(java.lang.String instanceName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |