|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.webwork.AbstractAction
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 String |
SETUP_MARKER
|
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
buildManager, CONFIRM, cookieCutter |
Constructor Summary | |
---|---|
protected |
AbstractConfigurationAction()
|
Method Summary | |
---|---|
protected void |
customPostProcess(AdministrationConfiguration administrationConfiguration)
|
String |
doExecute()
Update the system with the adimistration configuration. |
boolean |
getAcceptRemoteApiCalls()
Informs the UI if the Remote API option is enabled. |
String |
getBaseUrl()
Supply the form with the base url so the form does not loose it |
String |
getBuildDirectory()
|
BuilderManager |
getBuilderManager()
|
String |
getDefaultBaseUrl()
See if we can determine the default base url from the servlet request... |
String |
getEmailSubjectPrefix()
What email subject prefix should Bamboo use? |
FileBasedPersisterOptions |
getFilePersister()
Provide the GUI with the file persister |
String |
getFromEmailAddress()
Which email address should Bamboo use to send emails from. |
boolean |
getGzipCompression()
Informs the UI if the Gzip option is enabled. |
String |
getRepositoryPollingPeriod()
|
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(String url)
Accept the base url of the system from the html form. |
void |
setBuildDirectory(String buildDirectory)
|
void |
setBuilderManager(BuilderManager builderManager)
|
void |
setEmailSubjectPrefix(String emailSubjectPrefix)
Accept the email subject prefix from the html form. |
void |
setFromEmailAddress(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 |
setRepositoryPollingPeriod(String repositoryPollingPeriod)
|
void |
setSmtpServer(String smtpServerUrl)
Accept the SMTP server url of the system from the html form. |
void |
validate()
Place the user in the page context |
Methods inherited from class com.atlassian.bamboo.configuration.AbstractLicenseAction |
---|
getLicense, setLicense |
Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction |
---|
addFormErrors, doDefault, execute, getAction, getAdministrationConfiguration, getBamboo, setAdministrationConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, 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 String SETUP_MARKER
Constructor Detail |
---|
protected AbstractConfigurationAction()
Method Detail |
---|
public void validate()
AbstractAction
validate
in class AbstractAction
public String getBaseUrl()
getBaseUrl
in class AbstractAction
public void setBaseUrl(String url)
url
- The emailpublic String getSmtpServer()
public void setSmtpServer(String smtpServerUrl)
smtpServerUrl
- The email serverpublic String getEmailSubjectPrefix()
public void setEmailSubjectPrefix(String emailSubjectPrefix)
emailSubjectPrefix
- public String getFromEmailAddress()
public void setFromEmailAddress(String fromEmailAddress)
fromEmailAddress
- The email address bamboo sends email frompublic FileBasedPersisterOptions getFilePersister()
public String getRepositoryPollingPeriod()
public void setRepositoryPollingPeriod(String repositoryPollingPeriod)
public String getBuildDirectory()
public void setBuildDirectory(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 String doExecute() throws Exception
doExecute
in class AbstractAction
Exception
- something nasty went wrongprotected void customPostProcess(AdministrationConfiguration administrationConfiguration)
public void setBuilderManager(BuilderManager builderManager)
public BuilderManager getBuilderManager()
public String getDefaultBaseUrl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |