public static class QueuedBuildData.CompositeContribution extends java.lang.Object implements IQueuedBuildDataContribution
contributions
.Constructor and Description |
---|
QueuedBuildData.CompositeContribution(java.util.List<? extends IQueuedBuildDataContribution> components) |
Modifier and Type | Method and Description |
---|---|
void |
createCheckpoint() |
void |
discardCheckpoint() |
boolean |
needsRebuild(org.eclipse.core.resources.IProject project,
java.util.Collection<IResourceDescription.Delta> deltas)
Ask each component whether a rebuild is necessary.
|
boolean |
queueChange(IResourceDescription.Delta delta)
Ask each component to handle the delta.
|
void |
reset()
Resets all known components.
|
void |
reset(org.eclipse.core.resources.IProject project)
Resets all known components.
|
void |
rollback() |
public QueuedBuildData.CompositeContribution(java.util.List<? extends IQueuedBuildDataContribution> components)
public void reset()
reset
in interface IQueuedBuildDataContribution
public void reset(org.eclipse.core.resources.IProject project)
reset
in interface IQueuedBuildDataContribution
public boolean queueChange(IResourceDescription.Delta 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)
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