Package org.eclipse.core.resources
Class IWorkspace.ProjectOrder
java.lang.Object
org.eclipse.core.resources.IWorkspace.ProjectOrder
- Enclosing interface:
- IWorkspace
Data structure for holding the multi-part outcome of
IWorkspace.computeProjectOrder
.
This class is not intended to be instantiated by clients.
- Since:
- 2.1
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Indicates whether any of the accessible projects inprojects
are involved in non-trivial cycles.IProject[][]
A list of knots in the project reference graph.IProject[]
A list of projects ordered so as to honor the project reference, and build configuration reference, relationships between these projects wherever possible. -
Constructor Summary
ConstructorDescriptionProjectOrder
(IProject[] projects, boolean hasCycles, IProject[][] knots) Creates an instance with the given values. -
Method Summary
-
Field Details
-
projects
A list of projects ordered so as to honor the project reference, and build configuration reference, relationships between these projects wherever possible. The elements are a subset of the ones passed as theprojects
parameter toIWorkspace.computeProjectOrder
, where inaccessible (closed or non-existent) projects have been omitted. -
hasCycles
public boolean hasCyclesIndicates whether any of the accessible projects inprojects
are involved in non-trivial cycles.true
if the reference graph contains at least one cycle involving two or more of the projects inprojects
, andfalse
if none of the projects inprojects
are involved in cycles. -
knots
A list of knots in the project reference graph. This list is empty if the project reference graph does not contain cycles. If the project reference graph contains cycles, each element is a knot of two or more accessible projects fromprojects
that are involved in a cycle of mutually dependent references.
-
-
Constructor Details
-
ProjectOrder
Creates an instance with the given values.This class is not intended to be instantiated by clients.
- Parameters:
projects
- initial value ofprojects
fieldhasCycles
- initial value ofhasCycles
fieldknots
- initial value ofknots
field
-