com.atlassian.jira.service.ServiceConfigStore |
Known Indirect Subclasses
|
Class Overview
A store interface for the ServiceConfigs
Summary
Public Methods |
@Deprecated
JiraServiceContainer
|
addServiceConfig(String serviceName, Class<? extends JiraService> serviceClass, long serviceDelay)
Adds a new Service of the given class with the the given configuration.
|
JiraServiceContainer
|
addServiceConfig(String name, Class<? extends JiraService> serviceClass, String cronExpression, Long serviceDelay)
Adds a new Service of the given class with the the given configuration.
|
@Deprecated
void
|
editServiceConfig(JiraServiceContainer config, long delay, Map<String, String[]> params)
|
void
|
editServiceConfig(JiraServiceContainer serviceContainer, String cronExpression, Map<String, String[]> params)
Edit the schedule and parameters for a service.
|
Collection<JiraServiceContainer>
|
getAllServiceConfigs()
|
JiraServiceContainer
|
getServiceConfigForId(Long id)
|
JiraServiceContainer
|
getServiceConfigForName(String name)
|
void
|
removeServiceConfig(JiraServiceContainer config)
|
Public Methods
Adds a new Service of the given class with the the given configuration.
Parameters
serviceName
| The service name. |
serviceClass
| The JiraService class that we wish to add as a service. |
serviceDelay
| the service delay. |
Returns
- JiraServiceContainer for this service.
Adds a new Service of the given class with the the given configuration.
Parameters
name
| Service name |
serviceClass
| Class implementing the service |
cronExpression
| Cron expression |
serviceDelay
| the service delay. Only used if the instance is downgraded to a JIRA version prior to 6.4 |
Returns
- JiraServiceContainer for this service.
Edit the schedule and parameters for a service.
Parameters
serviceContainer
| The service container |
cronExpression
| Cron expression |
params
| Service parameter map.
|