com.atlassian.jira.service
Class DefaultServiceManager.ServiceScheduleSkipperImpl

java.lang.Object
  extended by com.atlassian.jira.service.DefaultServiceManager.ServiceScheduleSkipperImpl
All Implemented Interfaces:
ServiceManager.ServiceScheduleSkipper
Enclosing class:
DefaultServiceManager

protected static class DefaultServiceManager.ServiceScheduleSkipperImpl
extends Object
implements ServiceManager.ServiceScheduleSkipper

Implementation of ServiceScheduleSkipper that has synchronized access.

Since:
v3.10

Constructor Summary
protected DefaultServiceManager.ServiceScheduleSkipperImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceManager.ServiceScheduleSkipperImpl

protected DefaultServiceManager.ServiceScheduleSkipperImpl()
Method Detail

addService

public boolean addService(Long serviceId)
Description copied from interface: ServiceManager.ServiceScheduleSkipper
Adds a service with a given id to this skipper

Specified by:
addService in interface ServiceManager.ServiceScheduleSkipper
Parameters:
serviceId - service id
Returns:
true if service was not in this skipper already, false otherwise

checkAndRemove

public boolean checkAndRemove(Long serviceId)
Description copied from interface: ServiceManager.ServiceScheduleSkipper
Removes the service with given id from this skipper.

Specified by:
checkAndRemove in interface ServiceManager.ServiceScheduleSkipper
Parameters:
serviceId - service id
Returns:
true if service with given id was in this skipper, false otherwise


Copyright © 2002-2009 Atlassian. All Rights Reserved.