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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    computeRuntimes(org.eclipse.core.runtime.IConfigurationElement element)
    Computes all compatible 1C:Enterprise platform runtimes for the provided runtime configuration element.
    computeRuntimes(org.eclipse.core.runtime.IConfigurationElement element, boolean allowUnknownRuntimes)
    Computes all compatible 1C:Enterprise platform runtimes for the provided runtime configuration element.
    computeVersions(org.eclipse.core.runtime.IConfigurationElement element)
    Computes all compatible 1C:Enterprise platform runtime versions for the provided runtime configuration element.
    computeVersions(org.eclipse.core.runtime.IConfigurationElement element, boolean allowUnknownRuntimes)
    Computes all compatible 1C:Enterprise platform runtime versions for the provided runtime configuration element.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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:
    • 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 be null
      allowUnknownRuntimes - allow configuration element to specify unknown 1C:Enterprise platform runtimes; if false 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 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:
    • 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 be null
      allowUnknownRuntimes - allow configuration element to specify unknown 1C:Enterprise platform runtimes; if false 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: