public class ExecutionEnvironmentConfigurationImpl extends Object implements ExecutionEnvironmentConfiguration
| Constructor and Description |
|---|
ExecutionEnvironmentConfigurationImpl(org.codehaus.plexus.logging.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionEnvironment |
getFullSpecification()
Returns the execution environment specification with information needed for the build.
|
String |
getProfileName()
Returns the name of the configured profile.
|
boolean |
isCustomProfile()
Returns
true if the configured profile is not one of the known standard
execution environments. |
void |
overrideProfileConfiguration(String profileName,
String configurationOrigin)
Sets the effective profile configuration.
|
void |
setFullSpecificationForCustomProfile(List<SystemCapability> systemCapabilities)
Call-back for setting the actual specification for the configured custom profile.
|
void |
setProfileConfiguration(String profileName,
String configurationOrigin)
Sets the effective profile configuration, unless the method
ExecutionEnvironmentConfiguration.overrideProfileConfiguration(String, String) has been called on this instance. |
public ExecutionEnvironmentConfigurationImpl(org.codehaus.plexus.logging.Logger logger)
public void overrideProfileConfiguration(String profileName, String configurationOrigin) throws IllegalStateException
ExecutionEnvironmentConfigurationoverrideProfileConfiguration in interface ExecutionEnvironmentConfigurationIllegalStateException - if the configuration has been already frozen by calling any one of the getters
defined in ExecutionEnvironmentConfigurationpublic void setProfileConfiguration(String profileName, String configurationOrigin) throws IllegalStateException
ExecutionEnvironmentConfigurationExecutionEnvironmentConfiguration.overrideProfileConfiguration(String, String) has been called on this instance.setProfileConfiguration in interface ExecutionEnvironmentConfigurationIllegalStateException - if the configuration has been already frozen by calling any one of the getters
defined in ExecutionEnvironmentConfigurationpublic String getProfileName()
ExecutionEnvironmentConfigurationgetProfileName in interface ExecutionEnvironmentConfigurationpublic boolean isCustomProfile()
ExecutionEnvironmentConfigurationtrue if the configured profile is not one of the known standard
execution environments.isCustomProfile in interface ExecutionEnvironmentConfigurationpublic void setFullSpecificationForCustomProfile(List<SystemCapability> systemCapabilities) throws IllegalStateException
ExecutionEnvironmentConfigurationsetFullSpecificationForCustomProfile in interface ExecutionEnvironmentConfigurationIllegalStateException - if the configured execution environment profile is not a custom profileExecutionEnvironmentConfiguration.isCustomProfile()public ExecutionEnvironment getFullSpecification() throws IllegalStateException
ExecutionEnvironmentConfigurationgetFullSpecification in interface ExecutionEnvironmentConfigurationIllegalStateException - if a custom execution enviromnent profile has been configure, and
ExecutionEnvironmentConfiguration.setFullSpecificationForCustomProfile(List) has not been called.ExecutionEnvironmentCopyright © 2008-2013 Eclipse Foundation. All Rights Reserved.