Package io.apicurio.registry.storage.dto
Enum DownloadContextType
- java.lang.Object
-
- java.lang.Enum<DownloadContextType>
-
- io.apicurio.registry.storage.dto.DownloadContextType
-
- All Implemented Interfaces:
Serializable,Comparable<DownloadContextType>
public enum DownloadContextType extends Enum<DownloadContextType>
- Author:
- eric.wittmann@gmail.com
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_BY_CONTENT_HASHCONTENT_BY_CONTENT_IDCONTENT_BY_GLOBAL_IDEXPORT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DownloadContextTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DownloadContextType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPORT
public static final DownloadContextType EXPORT
-
CONTENT_BY_GLOBAL_ID
public static final DownloadContextType CONTENT_BY_GLOBAL_ID
-
CONTENT_BY_CONTENT_ID
public static final DownloadContextType CONTENT_BY_CONTENT_ID
-
CONTENT_BY_CONTENT_HASH
public static final DownloadContextType CONTENT_BY_CONTENT_HASH
-
-
Method Detail
-
values
public static DownloadContextType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DownloadContextType c : DownloadContextType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DownloadContextType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-