Package com._1c.g5.v8.dt.platform
Class RuntimeCompatibility
java.lang.Object
com._1c.g5.v8.dt.platform.RuntimeCompatibility
1C:Enterprise platform runtime compatibility support class. Allows to compute Extension Points runtime
compatibility expressions.
- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<IRuntime>
computeRuntimes
(org.eclipse.core.runtime.IConfigurationElement element) Computes all compatible 1C:Enterprise platform runtimes for the provided runtime configuration element.static Collection<IRuntime>
computeRuntimes
(org.eclipse.core.runtime.IConfigurationElement element, boolean allowUnknownRuntimes) Computes all compatible 1C:Enterprise platform runtimes for the provided runtime configuration element.static Collection<Version>
computeVersions
(org.eclipse.core.runtime.IConfigurationElement element) Computes all compatible 1C:Enterprise platform runtime versions for the provided runtime configuration element.static Collection<Version>
computeVersions
(org.eclipse.core.runtime.IConfigurationElement element, boolean allowUnknownRuntimes) Computes all compatible 1C:Enterprise platform runtime versions for the provided runtime configuration element.
-
Constructor Details
-
RuntimeCompatibility
public RuntimeCompatibility()
-
-
Method Details
-
computeVersions
public static Collection<Version> computeVersions(org.eclipse.core.runtime.IConfigurationElement element) throws org.eclipse.core.runtime.CoreException Computes all compatible 1C:Enterprise platform runtime versions for the provided runtime configuration element.- Parameters:
element
- the runtime configuration element, cannot benull
- Returns:
- a collection of all compatible 1C:Enterprise platform runtime versions, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if the XML expression tree is malformed- See Also:
-
computeVersions
public static Collection<Version> computeVersions(org.eclipse.core.runtime.IConfigurationElement element, boolean allowUnknownRuntimes) throws org.eclipse.core.runtime.CoreException Computes all compatible 1C:Enterprise platform runtime versions for the provided runtime configuration element.- Parameters:
element
- the runtime configuration element, cannot benull
allowUnknownRuntimes
- allow configuration element to specify unknown 1C:Enterprise platform runtimes; iffalse
then exception will be thrown in unknown runtimes occurrence- Returns:
- a collection of all compatible 1C:Enterprise platform runtime versions, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if the XML expression tree is malformed- See Also:
-
computeRuntimes
public static Collection<IRuntime> computeRuntimes(org.eclipse.core.runtime.IConfigurationElement element) throws org.eclipse.core.runtime.CoreException Computes all compatible 1C:Enterprise platform runtimes for the provided runtime configuration element.- Parameters:
element
- the runtime configuration element, cannot benull
- Returns:
- a collection of all compatible 1C:Enterprise platform runtimes, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if the XML expression tree is malformed- See Also:
-
computeRuntimes
public static Collection<IRuntime> computeRuntimes(org.eclipse.core.runtime.IConfigurationElement element, boolean allowUnknownRuntimes) throws org.eclipse.core.runtime.CoreException Computes all compatible 1C:Enterprise platform runtimes for the provided runtime configuration element.- Parameters:
element
- the runtime configuration element, cannot benull
allowUnknownRuntimes
- allow configuration element to specify unknown 1C:Enterprise platform runtimes; iffalse
then exception will be thrown in unknown runtimes occurrence- Returns:
- a collection of all compatible 1C:Enterprise platform runtimes, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if the XML expression tree is malformed- See Also:
-