public static class QueuedBuildData.NullContribution extends java.lang.Object implements IQueuedBuildDataContribution
Constructor and Description |
---|
QueuedBuildData.NullContribution() |
Modifier and Type | Method and Description |
---|---|
boolean |
needsRebuild(org.eclipse.core.resources.IProject project,
java.util.Collection<IResourceDescription.Delta> deltas)
Decide based on the given project, the known internal state and the existing list of deltas whether a rebuilt is
required.
|
boolean |
queueChange(IResourceDescription.Delta delta)
A to-be-queued delta is passed to the known contributors to establish a communication channel between clients of
the
QueuedBuildData and a potentially available special treatment of a certain kind of delta. |
void |
reset()
Resets internal state of the contribution.
|
public void reset()
IQueuedBuildDataContribution
reset
in interface IQueuedBuildDataContribution
public boolean queueChange(IResourceDescription.Delta delta)
IQueuedBuildDataContribution
QueuedBuildData
and a potentially available special treatment of a certain kind of delta.queueChange
in interface IQueuedBuildDataContribution
false
if the delta was not processed, true
if this contribution handled the
given delta.UnconfirmedStructuralChangesDelta
public boolean needsRebuild(org.eclipse.core.resources.IProject project, java.util.Collection<IResourceDescription.Delta> deltas)
IQueuedBuildDataContribution
needsRebuild
in interface IQueuedBuildDataContribution
true
if the project has to be rebuilt according to the known state.