public static enum ContentVaultEntry.ContentHashType extends Enum<ContentVaultEntry.ContentHashType>
Enum Constant and Description |
---|
CONTENTHASHTYPE_NONE |
CONTENTHASHTYPE_SHA1 |
CONTENTHASHTYPE_SHA2 |
CONTENTHASHTYPE_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getDigestType() |
String |
getName() |
static ContentVaultEntry.ContentHashType |
lookup(int code) |
static ContentVaultEntry.ContentHashType |
lookup(String name) |
static ContentVaultEntry.ContentHashType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentVaultEntry.ContentHashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentVaultEntry.ContentHashType CONTENTHASHTYPE_UNKNOWN
public static final ContentVaultEntry.ContentHashType CONTENTHASHTYPE_NONE
public static final ContentVaultEntry.ContentHashType CONTENTHASHTYPE_SHA1
public static final ContentVaultEntry.ContentHashType CONTENTHASHTYPE_SHA2
public static ContentVaultEntry.ContentHashType[] values()
for (ContentVaultEntry.ContentHashType c : ContentVaultEntry.ContentHashType.values()) System.out.println(c);
public static ContentVaultEntry.ContentHashType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getCode()
public final String getName()
public final String getDigestType()
public static final ContentVaultEntry.ContentHashType lookup(int code)
public static final ContentVaultEntry.ContentHashType lookup(String name)
Copyright © 2023. All rights reserved.