Package org.projectnessie.model
Interface Transplant
-
- All Known Implementing Classes:
ImmutableTransplant
@Immutable public interface Transplant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcheckHashes()Validation rule usingValidation.validateHash(String)(String)}.@NotBlank @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, a ./_- character, not end with a slash, not contain ..") StringgetFromRefName()@NotNull @Size(min=1) List<String>getHashesToTransplant()
-
-
-
Method Detail
-
getHashesToTransplant
@NotNull @Size(min=1) @NotNull @Size(min=1) List<String> getHashesToTransplant()
-
getFromRefName
@NotBlank @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, a ./_- character, not end with a slash, not contain ..") @NotBlank @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, a ./_- character, not end with a slash, not contain ..") String getFromRefName()
-
checkHashes
@Check default void checkHashes()
Validation rule usingValidation.validateHash(String)(String)}.
-
-