Package com._1c.g5.v8.dt.platform
Class RuntimeCompatibility
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.RuntimeCompatibility
-
public final class RuntimeCompatibility extends Object
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 Constructor Description RuntimeCompatibility()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
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:
Version
-
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:
Version
-
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:
IRuntime
-
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:
IRuntime
-
-