com.atlassian.jira.service
Interface ServiceConfigStore
- All Known Implementing Classes:
- MockServiceConfigStore, OfBizServiceConfigStore
public interface ServiceConfigStore
A store interface for the ServiceConfigs
addServiceConfig
JiraServiceContainer addServiceConfig(String serviceName,
Class<? extends JiraService> serviceClass,
long serviceDelay)
throws ServiceException
- 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.
- Throws:
ServiceException
- If there is any errors trying to add this Service.
editServiceConfig
void editServiceConfig(JiraServiceContainer config,
long delay,
Map<String,String[]> params)
throws ServiceException
- Throws:
ServiceException
removeServiceConfig
void removeServiceConfig(JiraServiceContainer config)
getServiceConfigForId
JiraServiceContainer getServiceConfigForId(Long id)
getServiceConfigForName
JiraServiceContainer getServiceConfigForName(String name)
getAllServiceConfigs
Collection<JiraServiceContainer> getAllServiceConfigs()
Copyright © 2002-2014 Atlassian. All Rights Reserved.