public interface ISchedulableOperationAn interface to mark an operation that needs an
ISchedulingRule getSchedulingRule()Gives the caller a hint whether this operation will acquire a rule to proceed in the current thread. If a
ISchedulingRuleis returned the caller should call
IJobManager.beginRule(ISchedulingRule, IProgressMonitor)before and
IJobManager.endRule(ISchedulingRule)after the operation.
ISchedulingRulethat the operation will acquire in the current thread - if any. Returns
nullif no rule needed - in that case the caller should not call
endRule. As this method returns only a hint the operation can not assume that the caller already acquired the rule. The operation still has to acquire it - which will lead to a nested rule.