public interface IBuilderState extends IResourceDescriptions, IResourceDescription.Event.Source
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<IResourceDescription.Delta> |
clean(java.util.Set<org.eclipse.emf.common.util.URI> toBeRemoved,
org.eclipse.core.runtime.IProgressMonitor monitor)
Remove the descriptions for the given resource-uris from the
IResourceDescriptions . |
com.google.common.collect.ImmutableList<IResourceDescription.Delta> |
update(BuildData buildData,
org.eclipse.core.runtime.IProgressMonitor monitor)
Updated the underlying
IResourceDescriptions according to the passed URIs. |
getAllResourceDescriptions, getResourceDescription
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, isEmpty
addListener, notifyListeners, removeListener
com.google.common.collect.ImmutableList<IResourceDescription.Delta> update(BuildData buildData, org.eclipse.core.runtime.IProgressMonitor monitor)
IResourceDescriptions
according to the passed URIs.
It updates transitively affected IResourceDescription
as well.
The change to the underlying IResourceDescriptions
is guaranteed to be atomic.buildData
- the underlying data for the update.monitor
- the progress monitor to use for reporting progress to the user. It is the caller's responsibility
to call done() on the given monitor. Accepts null, indicating that no progress should be
reported and that the operation cannot be canceled.com.google.common.collect.ImmutableList<IResourceDescription.Delta> clean(java.util.Set<org.eclipse.emf.common.util.URI> toBeRemoved, org.eclipse.core.runtime.IProgressMonitor monitor)
IResourceDescriptions
.
The clean-operation is not transitive.
The change to the underlying IResourceDescriptions
is guaranteed to be atomic.toBeRemoved
- the uris or the cleaned resources.monitor
- the progress monitor to use for reporting progress to the user. It is the caller's responsibility
to call done() on the given monitor. Accepts null, indicating that no progress should be
reported and that the operation cannot be canceled.