Package com.atlassian.bamboo.health
Class BambooHealthCheckServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.health.BambooHealthCheckServiceImpl
-
- All Implemented Interfaces:
BambooHealthCheckService
public class BambooHealthCheckServiceImpl extends Object implements BambooHealthCheckService
-
-
Constructor Summary
Constructors Constructor Description BambooHealthCheckServiceImpl(com.atlassian.config.db.HibernateConfig hibernateConfig, DbmsBean dbmsBean, AgentManager agentManager, org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDatabasePasswordDecrypter()
DatabaseType
getDatabaseType()
Instance database typelong
getLocalAgentsCount()
int
getMaxDbConnectionPoolsSize()
Set<String>
getModulesThatCanBeDisabled()
MySQLChecks
getMySQLChecks()
Set<String>
getPluginsThatCanBeDisabled()
void
ignoreDisabledPlugin(String key)
void
ignoreDisabledPluginModule(String completeKey)
-
-
-
Constructor Detail
-
BambooHealthCheckServiceImpl
@Inject public BambooHealthCheckServiceImpl(com.atlassian.config.db.HibernateConfig hibernateConfig, DbmsBean dbmsBean, AgentManager agentManager, org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate)
-
-
Method Detail
-
getDatabaseType
public DatabaseType getDatabaseType()
Description copied from interface:BambooHealthCheckService
Instance database type- Specified by:
getDatabaseType
in interfaceBambooHealthCheckService
-
getMaxDbConnectionPoolsSize
public int getMaxDbConnectionPoolsSize()
- Specified by:
getMaxDbConnectionPoolsSize
in interfaceBambooHealthCheckService
-
getDatabasePasswordDecrypter
public String getDatabasePasswordDecrypter()
- Specified by:
getDatabasePasswordDecrypter
in interfaceBambooHealthCheckService
- Returns:
- cypher used to encrypt DB credentials
-
getLocalAgentsCount
public long getLocalAgentsCount()
- Specified by:
getLocalAgentsCount
in interfaceBambooHealthCheckService
-
ignoreDisabledPlugin
public void ignoreDisabledPlugin(String key)
- Specified by:
ignoreDisabledPlugin
in interfaceBambooHealthCheckService
-
ignoreDisabledPluginModule
public void ignoreDisabledPluginModule(String completeKey)
- Specified by:
ignoreDisabledPluginModule
in interfaceBambooHealthCheckService
-
getPluginsThatCanBeDisabled
public Set<String> getPluginsThatCanBeDisabled()
- Specified by:
getPluginsThatCanBeDisabled
in interfaceBambooHealthCheckService
-
getModulesThatCanBeDisabled
public Set<String> getModulesThatCanBeDisabled()
- Specified by:
getModulesThatCanBeDisabled
in interfaceBambooHealthCheckService
-
getMySQLChecks
public MySQLChecks getMySQLChecks()
- Specified by:
getMySQLChecks
in interfaceBambooHealthCheckService
- Returns:
- MySQL-specific validations
-
-