Class AbstractChangesCommandParameters

Direct Known Subclasses:
ChangesCommandParameters, CompareChangeCommandParameters, PullRequestChangesCommandParameters

public class AbstractChangesCommandParameters extends AbstractCommandParameters
  • Constructor Details

  • Method Details

    • getMaxChanges

      public int getMaxChanges()
    • getPaths

      @Nonnull public Set<String> getPaths()
    • hasPaths

      public boolean hasPaths()
    • toContext

      @Nonnull protected ChangeContext toContext(@Nonnull ChangeContext.Builder builder)
      Appends common attributes to the provided ChangeContext.Builder before building it and returning the final ChangeContext.
      Parameters:
      builder - the starting builder to apply common attributes to before building
      Returns:
      the ChangeContext from the provided builder