Class CompatibleEnvironment
java.lang.Object
org.eclipse.jdt.launching.environments.CompatibleEnvironment
The result of analyzing a vm install for compatibility with an execution
environment.
An environment analyzer delegate creates instances of this class to describe the environments a vm install is compatible with. A result describes a compatible environment for a vm install and whether the vm install is strictly compatible with the environment or whether the vm install represents a superset of the environment (that is, represents more than is minimally required to be compatible with an environment).
Clients may instantiate this class.
- Since:
- 3.2
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorDescriptionCompatibleEnvironment
(IExecutionEnvironment environment, boolean strict) Constructs a new compatible environment result from an execution environment analysis. -
Method Summary
Modifier and TypeMethodDescriptionReturns an environment compatible with the vm being analyzed.boolean
Returns whether the analyzed vm install is strictly compatible with the compatible environment or represents a superset of the environment.toString()
-
Constructor Details
-
CompatibleEnvironment
Constructs a new compatible environment result from an execution environment analysis.- Parameters:
environment
- the environment a vm install is compatible withstrict
- whether the vm install is strictly compatible with the environment or represents a superset of the environment
-
-
Method Details
-
getCompatibleEnvironment
Returns an environment compatible with the vm being analyzed.- Returns:
- compatible execution environment
-
isStrictlyCompatbile
public boolean isStrictlyCompatbile()Returns whether the analyzed vm install is strictly compatible with the compatible environment or represents a superset of the environment. Returningtrue
indicates the analyzed vm install is strictly contained within the environment. Returningfalse
indicates that the analyzed vm install represents more a superset of the environment.- Returns:
- whether the analyzed vm install is strictly contained within the environment
-
toString
-