Class SpotlessTaskService

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.gradle.api.services.BuildService<org.gradle.api.services.BuildServiceParameters.None>, OperationCompletionListener

    public abstract class SpotlessTaskService
    extends java.lang.Object
    implements org.gradle.api.services.BuildService<org.gradle.api.services.BuildServiceParameters.None>, java.lang.AutoCloseable, OperationCompletionListener
    Allows the check and apply tasks to coordinate with each other (and the source task) to reduce duplicated work (e.g. no need for check to run if apply already did).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void onFinish​(FinishEvent var1)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.gradle.api.services.BuildService

        getParameters
    • Constructor Detail

      • SpotlessTaskService

        public SpotlessTaskService()
    • Method Detail

      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception