Package com.github.ambry.messageformat
Enum MessageFormatFlags
- java.lang.Object
-
- java.lang.Enum<MessageFormatFlags>
-
- com.github.ambry.messageformat.MessageFormatFlags
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MessageFormatFlags>
public enum MessageFormatFlags extends java.lang.Enum<MessageFormatFlags>
Set of flags used to identify different types of messages
-
-
Enum Constant Summary
Enum Constants Enum Constant Description All
Blob
BlobInfo
BlobProperties
BlobUserMetadata
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageFormatFlags
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MessageFormatFlags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BlobProperties
public static final MessageFormatFlags BlobProperties
-
BlobUserMetadata
public static final MessageFormatFlags BlobUserMetadata
-
Blob
public static final MessageFormatFlags Blob
-
All
public static final MessageFormatFlags All
-
BlobInfo
public static final MessageFormatFlags BlobInfo
-
-
Method Detail
-
values
public static MessageFormatFlags[] 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 (MessageFormatFlags c : MessageFormatFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageFormatFlags valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-