Package org.projectnessie.services.spi
Interface DiffService
-
- All Known Implementing Classes:
DiffApiImpl
public interface DiffServiceServer-side interface to services providing content differences.Refer to the javadoc of corresponding client-facing interfaces in the
modelmodule for the meaning of various methods and their parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R> RgetDiff(@NotNull @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") java.lang.String fromRef, @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") java.lang.String fromHash, @NotNull @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") java.lang.String toRef, @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") java.lang.String toHash, java.lang.String pagingToken, PagedResponseHandler<R,org.projectnessie.model.DiffResponse.DiffEntry> pagedResponseHandler, java.util.function.Consumer<org.projectnessie.versioned.WithHash<org.projectnessie.versioned.NamedRef>> fromReference, java.util.function.Consumer<org.projectnessie.versioned.WithHash<org.projectnessie.versioned.NamedRef>> toReference)
-
-
-
Method Detail
-
getDiff
<R> R getDiff(@NotNull @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @NotNull @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") java.lang.String fromRef, @Nullable @Nullable @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") java.lang.String fromHash, @NotNull @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @NotNull @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") java.lang.String toRef, @Nullable @Nullable @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") @Pattern(regexp="(^[0-9a-fA-F]{8,64}$)?",message="Hash must consist of the hex representation of 4-32 bytes") java.lang.String toHash, @Nullable @Nullable java.lang.String pagingToken, PagedResponseHandler<R,org.projectnessie.model.DiffResponse.DiffEntry> pagedResponseHandler, java.util.function.Consumer<org.projectnessie.versioned.WithHash<org.projectnessie.versioned.NamedRef>> fromReference, java.util.function.Consumer<org.projectnessie.versioned.WithHash<org.projectnessie.versioned.NamedRef>> toReference) throws org.projectnessie.error.NessieNotFoundException- Throws:
org.projectnessie.error.NessieNotFoundException
-
-