com.ibm.jdg2e.concurrency.rules
Class TypeORule

java.lang.Object
  extended bycom.ibm.jdg2e.concurrency.rules.TypeORule
All Implemented Interfaces:
org.eclipse.core.runtime.jobs.ISchedulingRule

public class TypeORule
extends java.lang.Object
implements org.eclipse.core.runtime.jobs.ISchedulingRule

This rule contains itself and conflicts with all other blood bank rules (universal donor, not receiver).


Constructor Summary
TypeORule()
           
 
Method Summary
 boolean contains(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
           
 boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeORule

public TypeORule()
Method Detail

contains

public boolean contains(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
Specified by:
contains in interface org.eclipse.core.runtime.jobs.ISchedulingRule

isConflicting

public boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule rule)
Specified by:
isConflicting in interface org.eclipse.core.runtime.jobs.ISchedulingRule