Interface IContainerSnapshot<T extends IContainer>
- All Superinterfaces:
IResourceSnapshot<T>
IContainerSnapshot is a lightweight description that describes a container to
be created.
- Since:
- 3.20
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMember(IResourceSnapshot<? extends IResource> member) Add the specified resource description as a member of this resource descriptionIResourceSnapshot<? extends IResource>[]Get a list of snapshots of members of this containervoidsetFilters(IResourceFilterDescription[] filterList) Set the filters to which should be created on this container.voidsetLocation(URI linkLocation) Set the location to which this container is linked.Methods inherited from interface org.eclipse.core.resources.undo.snapshot.IResourceSnapshot
createExistentResourceFromHandle, createResource, createResourceHandle, getName, isValid, recordStateFromHistory, verifyExistence
-
Method Details
-
getMembers
IResourceSnapshot<? extends IResource>[] getMembers()Get a list of snapshots of members of this container- Returns:
- a list of snapshots
-
addMember
Add the specified resource description as a member of this resource description- Parameters:
member- the resource description considered a member of this container.
-
setLocation
Set the location to which this container is linked.- Parameters:
linkLocation- the location URI, ornullif there is no link
-
setFilters
Set the filters to which should be created on this container.- Parameters:
filterList- the filters
-