Package com.zendesk.sdk.feedback.ui
Enum AttachmentContainerHost.AttachmentState
- java.lang.Object
-
- java.lang.Enum<AttachmentContainerHost.AttachmentState>
-
- com.zendesk.sdk.feedback.ui.AttachmentContainerHost.AttachmentState
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AttachmentContainerHost.AttachmentState>
- Enclosing class:
- AttachmentContainerHost
public static enum AttachmentContainerHost.AttachmentState extends java.lang.Enum<AttachmentContainerHost.AttachmentState>
This enum describes the state of a single attachment
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static AttachmentContainerHost.AttachmentState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AttachmentContainerHost.AttachmentState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPLOADING
public static final AttachmentContainerHost.AttachmentState UPLOADING
Indicates that the upload is still running.
-
UPLOADED
public static final AttachmentContainerHost.AttachmentState UPLOADED
Indicates that the file was successfully uploaded.
-
DISABLE
public static final AttachmentContainerHost.AttachmentState DISABLE
Disable the view, so that the user can't interact with it.
-
-
Method Detail
-
values
public static AttachmentContainerHost.AttachmentState[] 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 (AttachmentContainerHost.AttachmentState c : AttachmentContainerHost.AttachmentState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttachmentContainerHost.AttachmentState 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
-
-