public class BuildContext extends Object
Constructor and Description |
---|
BuildContext(String qualifier,
List<TargetEnvironment> environments,
File targetDirectory)
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.
|
String |
getQualifier() |
File |
getTargetDirectory() |
public BuildContext(String qualifier, List<TargetEnvironment> environments, File targetDirectory) throws IllegalArgumentException
BuildContext
instance.qualifier
- The build qualifier of the current projectenvironments
- The list of environments targeted by the build; must contain at least one entrytargetDirectory
- The build target directory of the current projectIllegalArgumentException
- if no target environment has been specifiedpublic String getQualifier()
public List<TargetEnvironment> getEnvironments()
TargetEnvironment
to be addressed; never null
or
emptypublic File getTargetDirectory()
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.