public static enum BoxWebHook.Trigger extends Enum<BoxWebHook.Trigger>
Enum Constant and Description |
---|
COMMENT_CREATED
Triggered when a
BoxComment was created. |
COMMENT_DELETED
Triggered when a
BoxComment was deleted. |
COMMENT_UPDATED
Triggered when a
BoxComment was updated. |
FILE_COPIED
Triggered when a
BoxFile gets copied. |
FILE_DELETED
Triggered when a
BoxFile is permanently deleted. |
FILE_DOWNLOADED
Triggered when a
BoxFile is downloaded. |
FILE_LOCKED
Triggered when a
BoxFile gets locked. |
FILE_MOVED
Triggered when a
BoxFile gets copied. |
FILE_PREVIEWED
Triggered when a
BoxFile is previewed. |
FILE_RESTORED
Triggered when a
BoxFile gets restored. |
FILE_TRASHED
Triggered when a
BoxFile is thrashed. |
FILE_UNLOCKED
Triggered when a
BoxFile gets unlocked. |
FILE_UPLOADED
Triggered when a
BoxFile gets uploaded. |
FOLDER_COPIED
Triggered when a
BoxFolder gets copied. |
FOLDER_CREATED
Triggered when a
BoxFolder gets created. |
FOLDER_DELETED
Triggered when a
BoxFolder gets deleted. |
FOLDER_DOWNLOADED
Triggered when a
BoxFolder is downloaded. |
FOLDER_MOVED
Triggered when a
BoxFolder gets moved. |
FOLDER_RESTORED
Triggered when a
BoxFolder gets restored. |
Modifier and Type | Method and Description |
---|---|
static BoxWebHook.Trigger |
fromValue(String value) |
String[] |
getTypes() |
String |
getValue() |
static BoxWebHook.Trigger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxWebHook.Trigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxWebHook.Trigger FOLDER_CREATED
BoxFolder
gets created.public static final BoxWebHook.Trigger FOLDER_COPIED
BoxFolder
gets copied.public static final BoxWebHook.Trigger FOLDER_MOVED
BoxFolder
gets moved.public static final BoxWebHook.Trigger FOLDER_DOWNLOADED
BoxFolder
is downloaded.public static final BoxWebHook.Trigger FOLDER_RESTORED
BoxFolder
gets restored.public static final BoxWebHook.Trigger FOLDER_DELETED
BoxFolder
gets deleted.public static final BoxWebHook.Trigger FILE_UPLOADED
BoxFile
gets uploaded.public static final BoxWebHook.Trigger FILE_COPIED
BoxFile
gets copied.public static final BoxWebHook.Trigger FILE_MOVED
BoxFile
gets copied.public static final BoxWebHook.Trigger FILE_PREVIEWED
BoxFile
is previewed.public static final BoxWebHook.Trigger FILE_DOWNLOADED
BoxFile
is downloaded.public static final BoxWebHook.Trigger FILE_LOCKED
BoxFile
gets locked.public static final BoxWebHook.Trigger FILE_UNLOCKED
BoxFile
gets unlocked.public static final BoxWebHook.Trigger FILE_TRASHED
BoxFile
is thrashed. Do not include file versions for now.public static final BoxWebHook.Trigger FILE_RESTORED
BoxFile
gets restored.public static final BoxWebHook.Trigger FILE_DELETED
BoxFile
is permanently deleted.public static final BoxWebHook.Trigger COMMENT_CREATED
BoxComment
was created.public static final BoxWebHook.Trigger COMMENT_UPDATED
BoxComment
was updated.public static final BoxWebHook.Trigger COMMENT_DELETED
BoxComment
was deleted.public static BoxWebHook.Trigger[] values()
for (BoxWebHook.Trigger c : BoxWebHook.Trigger.values()) System.out.println(c);
public static BoxWebHook.Trigger 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 String getValue()
String
representation for BoxWebHook.Trigger
.public static BoxWebHook.Trigger fromValue(String value)
value
- value to get the Trigger enum value for