public class BuildContext extends Object
| Constructor and Description |
|---|
BuildContext(ReactorProjectCoordinates project,
String qualifier,
List<TargetEnvironment> environments)
Creates a new
BuildContext instance. |
| Modifier and Type | Method and Description |
|---|---|
List<TargetEnvironment> |
getEnvironments()
Returns the list of configured target environments, or the running environment if no
environments have been specified explicitly.
|
ReactorProjectCoordinates |
getProject() |
String |
getQualifier() |
BuildOutputDirectory |
getTargetDirectory() |
public BuildContext(ReactorProjectCoordinates project, String qualifier, List<TargetEnvironment> environments) throws IllegalArgumentException
BuildContext instance.project - Coordinates and build output directory of the current projectqualifier - The build qualifier of the current projectenvironments - The list of environments targeted by the build; must contain at least one entryIllegalArgumentException - if no target environment has been specifiedpublic ReactorProjectCoordinates getProject()
public String getQualifier()
public List<TargetEnvironment> getEnvironments()
TargetEnvironment to be addressed; never null or
emptypublic BuildOutputDirectory getTargetDirectory()
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.