|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.configuration.AdministrationConfiguration
public class AdministrationConfiguration
This class is a POJO holding the administrator supplied configuration.
Field Summary | |
---|---|
static int |
DEFAULT_POLLING_PERIOD
|
static String |
DEFAULT_URL
|
Constructor Summary | |
---|---|
AdministrationConfiguration()
|
Method Summary | |
---|---|
PipelineDefinition |
addPipelineDefinition(PipelineDefinition newDefinition)
|
boolean |
equals(Object o)
Auto-generated, reflection based equals |
String |
getBaseUrl()
What is the base url for this server? |
String |
getBuildDirectory()
|
Map |
getBuilderLabelPathMaps()
Obtain the total set of builder maps. |
BuildExpiryConfiguration |
getBuildExpiryConfiguration()
|
int |
getDefaultRepositoryPollingPeriod()
What's the defualt build polling period - builds can change it if they like! |
String |
getEmailFromAddress()
What is the from email address for all emails sent out by Bamboo? |
String |
getEmailPrefix()
What is the email prefix for all emails sent out by Bamboo? |
String |
getLicense()
The encoded license is held in the config |
Map |
getPipelineDefinitions()
|
String |
getSmtpServer()
What is the system's emailing server? |
String |
getSystemJdkHome(String jdkLabel)
Obtains the JDK home directory for the given jdk label |
Map |
getSystemJdks()
Obtain the available system JDKs |
String |
getSystemProperty(String key)
|
int |
hashCode()
Auto-generated, reflection based hashcode |
boolean |
isEnableAnonymousAccess()
|
boolean |
isEnableSignup()
|
boolean |
isInitialised()
Has this configuration already been defined? |
boolean |
isRemoteApiEnabled()
|
boolean |
isUseGzipCompression()
Should we use gzip compression to compress Bamboo web pages? This is useful if Bamboo is being run over slow networks. |
void |
removePipelineDefinition(long pipelineId)
|
void |
setBaseUrl(String baseUrl)
Define the system base url |
void |
setBuildDirectory(String buildDirectory)
|
void |
setBuilderLabelPathMaps(Map builderLabelPathMaps)
|
void |
setBuildExpiryConfiguration(BuildExpiryConfiguration buildExpiryConfiguration)
|
void |
setDefaultRepositoryPollingPeriod(int repositoryPollingPeriod)
Update the defualt build polling period! |
void |
setEmailFromAddress(String emailAddress)
Define the email address messages sent by bamboo are sent from. |
void |
setEmailPrefix(String emailPrefix)
Define the system email prefix |
void |
setEnableAnonymousAccess(boolean enableAnonymousAccess)
|
void |
setEnableRemoteApi(boolean enableRemoteApi)
|
void |
setEnableSignup(boolean enableSignup)
|
void |
setLicense(String license)
|
void |
setPipelineDefinition(PipelineDefinition pipelineDefinition)
|
void |
setSmtpServer(String smtpServer)
Define the smtp server we should use |
void |
setSystemJdks(Collection systemJdks)
Define the system JDK label, home tuples. |
void |
setSystemProperty(String key,
String value)
|
void |
setUseGzipCompression(boolean useGzipCompression)
Specify if we should we use gzip compression to compress Bamboo web pages. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_URL
public static final int DEFAULT_POLLING_PERIOD
Constructor Detail |
---|
public AdministrationConfiguration()
Method Detail |
---|
public String getSmtpServer()
public void setSmtpServer(String smtpServer)
smtpServer
- the server urlpublic String getBaseUrl()
public void setBaseUrl(String baseUrl)
baseUrl
- the urlpublic boolean isInitialised()
public String getEmailPrefix()
public void setEmailPrefix(String emailPrefix)
emailPrefix
- The email subject prefix.public String getEmailFromAddress()
public void setEmailFromAddress(String emailAddress)
emailAddress
- the from addresspublic int getDefaultRepositoryPollingPeriod()
public void setDefaultRepositoryPollingPeriod(int repositoryPollingPeriod)
public String getBuildDirectory()
public void setBuildDirectory(String buildDirectory)
public boolean isUseGzipCompression()
public void setUseGzipCompression(boolean useGzipCompression)
useGzipCompression
- public Map getSystemJdks()
Jdk
spublic void setSystemJdks(Collection systemJdks)
systemJdks
- The label to physical home mappingspublic String getSystemJdkHome(String jdkLabel)
jdkLabel
- The label identifing the JDK
public Map getBuilderLabelPathMaps()
Builder
and the values are
LabelPathMap
public void setBuilderLabelPathMaps(Map builderLabelPathMaps)
public String getLicense()
public void setLicense(String license)
public boolean isEnableSignup()
public void setEnableSignup(boolean enableSignup)
public boolean isEnableAnonymousAccess()
public void setEnableAnonymousAccess(boolean enableAnonymousAccess)
public boolean isRemoteApiEnabled()
public void setEnableRemoteApi(boolean enableRemoteApi)
public void setBuildExpiryConfiguration(BuildExpiryConfiguration buildExpiryConfiguration)
public BuildExpiryConfiguration getBuildExpiryConfiguration()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Map getPipelineDefinitions()
public void setPipelineDefinition(PipelineDefinition pipelineDefinition)
public PipelineDefinition addPipelineDefinition(PipelineDefinition newDefinition)
public void removePipelineDefinition(long pipelineId)
public void setSystemProperty(String key, String value)
public String getSystemProperty(String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |