public class CompatibleEnvironment extends Object
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.
|Constructor and Description|
Constructs a new compatible environment result from an execution environment analysis.
|Modifier and Type||Method and Description|
Returns an environment compatible with the vm being analyzed.
Returns whether the analyzed vm install is strictly compatible with the compatible environment or represents a superset of the environment.
public CompatibleEnvironment(IExecutionEnvironment environment, boolean strict)
environment- the environment a vm install is compatible with
strict- whether the vm install is strictly compatible with the environment or represents a superset of the environment
public IExecutionEnvironment getCompatibleEnvironment()
public boolean isStrictlyCompatbile()
trueindicates the analyzed vm install is strictly contained within the environment. Returning
falseindicates that the analyzed vm install represents more a superset of the environment.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.