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