Constant Field Values

Contents

org.projectnessie.*

  • org.projectnessie.model.Detached 
    Modifier and Type Constant Field Value
    public static final String REF_NAME "DETACHED"
  • org.projectnessie.model.Validation 
    Modifier and Type Constant Field Value
    public static final String FORBIDDEN_REF_NAME_MESSAGE "Reference name mut not be HEAD, DETACHED or a potential commit ID representation."
    public static final String HASH_MESSAGE "Hash must consist of the hex representation of 4-32 bytes"
    public static final String HASH_RAW_REGEX "[0-9a-fA-F]{8,64}"
    public static final String HASH_REGEX "^[0-9a-fA-F]{8,64}$"
    public static final String REF_NAME_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 \'..\'"
    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, one of the ./_- characters, not end with a slash or dot, not contain \'..\' or consist of the hex representation of 4-32 bytes"
    public static final String REF_NAME_OR_HASH_REGEX "^(([0-9a-fA-F]{8,64})|([A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?))$"
    public static final String REF_NAME_RAW_REGEX "[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_-])?$"