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 SummaryConstructors Constructor Description RuntimeCompatibility()
 - 
Method SummaryAll 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- 
computeVersionspublic 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 be- null
- 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
 
 - 
computeVersionspublic 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 be- null
- allowUnknownRuntimes- allow configuration element to specify unknown 1C:Enterprise platform runtimes; if- falsethen 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
 
 - 
computeRuntimespublic 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 be- null
- 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
 
 - 
computeRuntimespublic 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 be- null
- allowUnknownRuntimes- allow configuration element to specify unknown 1C:Enterprise platform runtimes; if- falsethen 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
 
 
- 
 
-