Class DiffApplier

java.lang.Object
com.google.common.util.concurrent.AbstractService
com.google.errorprone.apply.DiffApplier
All Implemented Interfaces:
com.google.common.util.concurrent.Service

public class DiffApplier extends com.google.common.util.concurrent.AbstractService
Applier of diffs to Java source code
Author:
alexeagle@google.com (Alex Eagle), sjnickerson@google.com (Simon Nickerson)
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service

    com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
  • Constructor Summary

    Constructors
    Constructor
    Description
    DiffApplier(int diffParallelism, FileSource source, FileDestination destination)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    @Nullable Future<?>
    put(Diff diff)
     

    Methods inherited from class com.google.common.util.concurrent.AbstractService

    addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • doStart

      protected void doStart()
      Specified by:
      doStart in class com.google.common.util.concurrent.AbstractService
    • doStop

      protected void doStop()
      Specified by:
      doStop in class com.google.common.util.concurrent.AbstractService
    • put

      public @Nullable Future<?> put(Diff diff)