Class PatchCommandParameters


public class PatchCommandParameters extends AbstractCommandParameters
Describes a commit for which to generate a patch.

In addition to specifying the commit for which to generate a patch, callers can provide a since ID revision as the base of the patch, or set all ancestors to true.

Since:
6.7
  • Method Details

    • getSecondaryRepository

      @Nullable public Repository getSecondaryRepository()
    • getSinceId

      @Nullable public String getSinceId()
      Retrieves the base revision from which to generate the patch. If omitted the parent revision of the until ID revision is used.
      Returns:
      the base revision from which to generate the patch
    • getUntilId

      @Nonnull public String getUntilId()
    • isAllAncestors

      public boolean isAllAncestors()
      Returns:
      whether or not to generate a patch which includes all the ancestors of until ID. If true, the value provided by since ID is ignored.