Constant Field Values

Contents

org.projectnessie.*

  • org.projectnessie.model.Validation 
    Modifier and Type Constant Field Value
    public static final String HASH_MESSAGE "Hash must consist of the hex representation of 8-32 bytes"
    public static final String HASH_REGEX "^[0-9a-fA-F]{16,64}$"
    public static final String REF_NAME_MESSAGE "Reference name must start with a letter, followed by letters, digits, a ./_- character, not end with a slash, not contain .."
    public static final String REF_NAME_OR_HASH_MESSAGE "Reference must be either a reference name or hash, start with a letter, followed by letters, digits, a ./_- character, not end with a slash, not contain .. or consist of the hex representation of 8-32 bytes"
    public static final String REF_NAME_OR_HASH_REGEX "^(([0-9a-fA-F]{16,64})|([A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9._-])?))$"
    public static final String REF_NAME_REGEX "^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9._-])?$"