Class WorkInProgressOp

java.lang.Object
com.google.gerrit.server.change.WorkInProgressOp
All Implemented Interfaces:
BatchUpdateOp, RepoOnlyOp

public class WorkInProgressOp extends Object implements BatchUpdateOp
  • Method Details

    • suppressEmail

      public void suppressEmail()
    • updateChange

      public boolean updateChange(ChangeContext ctx)
      Description copied from interface: BatchUpdateOp
      Override this method to modify a change.
      Specified by:
      updateChange in interface BatchUpdateOp
      Parameters:
      ctx - context
      Returns:
      whether anything was changed that might require a write to the metadata storage.
    • postUpdate

      public void postUpdate(PostUpdateContext ctx)
      Description copied from interface: RepoOnlyOp
      Override this method to do something after the update e.g. send email or run hooks
      Specified by:
      postUpdate in interface RepoOnlyOp
      Parameters:
      ctx - context