Class VMPluginFactory

java.lang.Object
org.codehaus.groovy.vmplugin.VMPluginFactory

public class VMPluginFactory extends Object
Factory class to get functionality based on the VM version. The usage of this class is not for public use, only for the runtime.
  • Constructor Details

    • VMPluginFactory

      public VMPluginFactory()
  • Method Details

    • featureVersion

      public static int featureVersion()
      The Java feature version of the running VM; see JavaFeatureVersion.current().
      Returns:
      the feature version, never below the lowest supported release
      Since:
      6.0.0
    • getPlugin

      public static VMPlugin getPlugin()
      Returns the VM plugin selected for the current runtime.
      Returns:
      the active VM plugin, or null if initialization failed