Package org.eclipse.tycho.core.ee.shared
Class ExecutionEnvironmentConfigurationStub
- java.lang.Object
-
- org.eclipse.tycho.core.ee.shared.ExecutionEnvironmentConfigurationStub
-
- All Implemented Interfaces:
ExecutionEnvironmentConfiguration
public class ExecutionEnvironmentConfigurationStub extends Object implements ExecutionEnvironmentConfiguration
ExecutionEnvironmentConfiguration
instance usable for additional calls of the target platform computation and dependency resolution.
-
-
Constructor Summary
Constructors Constructor Description ExecutionEnvironmentConfigurationStub(String profileName)
Creates a newExecutionEnvironmentConfiguration
for a standalone call of the target platform computation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
Returnstrue
if the configured profile is not one of the known standard execution environments.boolean
isIgnoredByResolver()
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 methodExecutionEnvironmentConfiguration.overrideProfileConfiguration(String, String)
has been called on this instance.
-
-
-
Constructor Detail
-
ExecutionEnvironmentConfigurationStub
public ExecutionEnvironmentConfigurationStub(String profileName)
Creates a newExecutionEnvironmentConfiguration
for a standalone call of the target platform computation.- Parameters:
profileName
- a standard execution environment
-
-
Method Detail
-
getProfileName
public String getProfileName()
Description copied from interface:ExecutionEnvironmentConfiguration
Returns the name of the configured profile.- Specified by:
getProfileName
in interfaceExecutionEnvironmentConfiguration
-
isCustomProfile
public boolean isCustomProfile()
Description copied from interface:ExecutionEnvironmentConfiguration
Returnstrue
if the configured profile is not one of the known standard execution environments.- Specified by:
isCustomProfile
in interfaceExecutionEnvironmentConfiguration
-
setProfileConfiguration
public void setProfileConfiguration(String profileName, String configurationOrigin)
Description copied from interface:ExecutionEnvironmentConfiguration
Sets the effective profile configuration, unless the methodExecutionEnvironmentConfiguration.overrideProfileConfiguration(String, String)
has been called on this instance.- Specified by:
setProfileConfiguration
in interfaceExecutionEnvironmentConfiguration
-
overrideProfileConfiguration
public void overrideProfileConfiguration(String profileName, String configurationOrigin)
Description copied from interface:ExecutionEnvironmentConfiguration
Sets the effective profile configuration.- Specified by:
overrideProfileConfiguration
in interfaceExecutionEnvironmentConfiguration
-
setFullSpecificationForCustomProfile
public void setFullSpecificationForCustomProfile(List<SystemCapability> systemCapabilities)
Description copied from interface:ExecutionEnvironmentConfiguration
Call-back for setting the actual specification for the configured custom profile. The specification, e.g. the list of provided packages, is read from the target platform.- Specified by:
setFullSpecificationForCustomProfile
in interfaceExecutionEnvironmentConfiguration
- See Also:
ExecutionEnvironmentConfiguration.isCustomProfile()
-
getFullSpecification
public ExecutionEnvironment getFullSpecification()
Description copied from interface:ExecutionEnvironmentConfiguration
Returns the execution environment specification with information needed for the build.- Specified by:
getFullSpecification
in interfaceExecutionEnvironmentConfiguration
- See Also:
ExecutionEnvironment
-
isIgnoredByResolver
public boolean isIgnoredByResolver()
- Specified by:
isIgnoredByResolver
in interfaceExecutionEnvironmentConfiguration
-
-