com.atlassian.jira.service
Interface ServiceConfigStore
- All Known Implementing Classes:
- OfBizServiceConfigStore
public interface ServiceConfigStore
A store interface for the ServiceConfigs
addServiceConfig
JiraServiceContainer addServiceConfig(String serviceName,
Class<? extends JiraService> serviceClass,
long serviceDelay)
throws ServiceException,
org.ofbiz.core.entity.GenericEntityException
- 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.
org.ofbiz.core.entity.GenericEntityException
- A DB error.
editServiceConfig
void editServiceConfig(JiraServiceContainer config,
long delay,
Map<String,String[]> params)
throws ServiceException,
org.ofbiz.core.entity.GenericEntityException
- Throws:
ServiceException
org.ofbiz.core.entity.GenericEntityException
removeServiceConfig
void removeServiceConfig(JiraServiceContainer config)
throws Exception
- Throws:
Exception
getServiceConfigForId
JiraServiceContainer getServiceConfigForId(Long id)
throws Exception
- Throws:
Exception
getServiceConfigForName
JiraServiceContainer getServiceConfigForName(String name)
throws Exception
- Throws:
Exception
getAllServiceConfigs
Collection<JiraServiceContainer> getAllServiceConfigs()
throws Exception
- Throws:
Exception
Copyright © 2002-2013 Atlassian. All Rights Reserved.