public class BuildOrderResolver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
APPEND_NONJAVA_PROJECTS
Indicates that non-java projectes found in the team project set should be
inserted before the java projects
|
static int |
FAIL_ON_NONJAVA_PROJECTS
Indicates that the resovler should fail if there is a non-java project in
the team project set.
|
static int |
IGNORE_NONJAVA_PROJECTS
Indicates the resolver should ignore all non-java projects in the team
project set.
|
static int |
PREPEND_NONJAVA_PROJECTS
Indicates that non-java projectes found in the team project set should be
inserted after the java projects
|
Modifier and Type | Method and Description |
---|---|
protected EclipseProject[] |
resolveBuildOrder()
Computes the build order for the projects specified in projectNames
|
static EclipseProject[] |
resolveBuildOrder(Workspace workspace,
java.lang.String[] projectNames,
int nonJavaProjectHandling)
Resolves the build order for all projects in the projectNames.
|
static EclipseProject[] |
resolveBuildOrder(Workspace workspace,
TeamProjectSet teamProjectSet,
int nonJavaProjectHandling)
Resolves the build order for all projects in the teamProjectSet.
|
public static final int FAIL_ON_NONJAVA_PROJECTS
public static final int IGNORE_NONJAVA_PROJECTS
public static final int PREPEND_NONJAVA_PROJECTS
public static final int APPEND_NONJAVA_PROJECTS
public static EclipseProject[] resolveBuildOrder(Workspace workspace, TeamProjectSet teamProjectSet, int nonJavaProjectHandling) throws BuildOrderException, FileParserException
BuildOrderException
- when a project referenced from a project contained in the teamProjectSet is not included in the teamProjectSetFileParserException
public static EclipseProject[] resolveBuildOrder(Workspace workspace, java.lang.String[] projectNames, int nonJavaProjectHandling) throws BuildOrderException, FileParserException
BuildOrderException
- when a project referenced from a project in projectNames is not included in projectNamesFileParserException
protected EclipseProject[] resolveBuildOrder() throws BuildOrderException, FileParserException
The projects must exist in the specified workspace.