com.atlassian.jira.service
Interface ServiceManager.ServiceScheduleSkipper

All Known Implementing Classes:
DefaultServiceManager.ServiceScheduleSkipperImpl
Enclosing interface:
ServiceManager

public static interface ServiceManager.ServiceScheduleSkipper

This interface provides capability for other processes to request a service run. It is also possible to remove the service by calling checkAndRemove(Long).

Since:
v3.10

Method Summary
 boolean addService(Long serviceId)
          Adds a service with a given id to this skipper
 boolean checkAndRemove(Long serviceId)
          Removes the service with given id from this skipper.
 

Method Detail

addService

boolean addService(Long serviceId)
Adds a service with a given id to this skipper

Parameters:
serviceId - service id
Returns:
true if service was not in this skipper already, false otherwise

checkAndRemove

boolean checkAndRemove(Long serviceId)
Removes the service with given id from this skipper.

Parameters:
serviceId - service id
Returns:
true if service with given id was in this skipper, false otherwise


Copyright © 2002-2008 Atlassian. All Rights Reserved.