public static class QueuedBuildData.NullContribution extends java.lang.Object implements IQueuedBuildDataContribution
Constructor and Description |
---|
QueuedBuildData.NullContribution() |
Modifier and Type | Method and Description |
---|---|
void |
createCheckpoint() |
void |
discardCheckpoint() |
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.
|
void |
reset(org.eclipse.core.resources.IProject project)
Resets the internal state of the contribution with regard to the given project.
|
void |
rollback() |
public void reset()
IQueuedBuildDataContribution
reset
in interface IQueuedBuildDataContribution
public void reset(org.eclipse.core.resources.IProject project)
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.public void createCheckpoint()
createCheckpoint
in interface IQueuedBuildDataContribution
public void discardCheckpoint()
discardCheckpoint
in interface IQueuedBuildDataContribution
public void rollback()
rollback
in interface IQueuedBuildDataContribution