Class VersionDetails

  • All Implemented Interfaces:
    java.io.Serializable

    public abstract class VersionDetails
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • VersionDetails

        protected VersionDetails​(java.lang.String version)
    • Method Detail

      • from

        public static VersionDetails from​(java.lang.String version)
      • from

        public static VersionDetails from​(org.gradle.util.GradleVersion version)
      • getVersion

        public java.lang.String getVersion()
      • maySupportModel

        public boolean maySupportModel​(java.lang.Class<?> modelType)
        Returns true if this provider may support the given model type. Returns false if it is known that the provider does not support the given model type and should not be asked to provide it.
      • supportsEnvironmentVariablesCustomization

        public boolean supportsEnvironmentVariablesCustomization()
      • supportsRunTasksBeforeExecutingAction

        public boolean supportsRunTasksBeforeExecutingAction()
      • supportsParameterizedToolingModels

        public boolean supportsParameterizedToolingModels()
      • supportsRunPhasedActions

        public boolean supportsRunPhasedActions()
      • supportsPluginClasspathInjection

        public boolean supportsPluginClasspathInjection()
      • honorsContractOnCancel

        public boolean honorsContractOnCancel()
        Returns true if this provider correctly implements the protocol contract wrt exceptions thrown on cancel