public static enum BoxWebHook.Trigger extends Enum<BoxWebHook.Trigger>
Enum Constant and Description |
---|
COLLABORATION_ACCEPTED
Triggered when a
BoxCollaboration is accepted. |
COLLABORATION_CREATED
Triggered when a
BoxCollaboration is created. |
COLLABORATION_REJECTED
Triggered when a
BoxCollaboration is rejected. |
COLLABORATION_REMOVED
Triggered when a
BoxCollaboration is removed. |
COLLABORATION_UPDATED
Triggered when a
BoxCollaboration is updated. |
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_RENAMED
Triggered when a
BoxFile is renamed. |
FILE_RESTORED
Triggered when a
BoxFile gets restored. |
FILE_TRASHED
Triggered when a
BoxFile is trashed. |
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_RENAMED
Triggered when a
BoxFolder is renamed. |
FOLDER_RESTORED
Triggered when a
BoxFolder gets restored. |
FOLDER_TRASHED
Triggered when a
BoxFolder is trashed. |
METADATA_INSTANCE_CREATED
|
METADATA_INSTANCE_DELETED
|
METADATA_INSTANCE_UPDATED
|
SHARED_LINK_CRATED
Triggered when a
BoxSharedLink is created. |
SHARED_LINK_DELETED
Triggered when a
BoxSharedLink is deleted. |
SHARED_LINK_UPDATED
Triggered when a
BoxSharedLink is updated. |
SIGN_REQUEST_COMPLETED
Triggered when
BoxSignRequest is completed. |
SIGN_REQUEST_DECLINED
Triggered when
BoxFile is declined. |
SIGN_REQUEST_ERROR_FINALIZING
Triggered when the signature request could not be processed.
|
SIGN_REQUEST_EXPIRED
Triggered when
BoxFile is expired. |
SIGN_REQUEST_SIGNATURE_REQUESTED
Triggered when the signature is requested from the signer.
|
SIGN_REQUEST_SIGNER_EMAIL_BOUNCED
Triggered when a signer's email is bounced.
|
SIGN_REQUEST_SIGNER_SIGNED
Triggered when the signature request is signed.
|
TASK_ASSIGNMENT_CREATED
Triggered when a
BoxTaskAssignment is created. |
TASK_ASSIGNMENT_UPDATED
Triggered when a
BoxTaskAssignment is updated. |
WEBHOOK_DELETED
Triggered when a
BoxWebHook is deleted. |
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_TRASHED
BoxFolder
is trashed.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 FOLDER_RENAMED
BoxFolder
is renamed.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 trashed. 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 FILE_RENAMED
BoxFile
is renamed.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 final BoxWebHook.Trigger TASK_ASSIGNMENT_CREATED
BoxTaskAssignment
is created.public static final BoxWebHook.Trigger TASK_ASSIGNMENT_UPDATED
BoxTaskAssignment
is updated.public static final BoxWebHook.Trigger METADATA_INSTANCE_CREATED
public static final BoxWebHook.Trigger METADATA_INSTANCE_UPDATED
public static final BoxWebHook.Trigger METADATA_INSTANCE_DELETED
public static final BoxWebHook.Trigger WEBHOOK_DELETED
BoxWebHook
is deleted.public static final BoxWebHook.Trigger COLLABORATION_CREATED
BoxCollaboration
is created.public static final BoxWebHook.Trigger COLLABORATION_ACCEPTED
BoxCollaboration
is accepted.public static final BoxWebHook.Trigger COLLABORATION_REJECTED
BoxCollaboration
is rejected.public static final BoxWebHook.Trigger COLLABORATION_REMOVED
BoxCollaboration
is removed.public static final BoxWebHook.Trigger COLLABORATION_UPDATED
BoxCollaboration
is updated.public static final BoxWebHook.Trigger SHARED_LINK_CRATED
BoxSharedLink
is created.public static final BoxWebHook.Trigger SHARED_LINK_UPDATED
BoxSharedLink
is updated.public static final BoxWebHook.Trigger SHARED_LINK_DELETED
BoxSharedLink
is deleted.public static final BoxWebHook.Trigger SIGN_REQUEST_COMPLETED
BoxSignRequest
is completed.public static final BoxWebHook.Trigger SIGN_REQUEST_DECLINED
BoxFile
is declined.public static final BoxWebHook.Trigger SIGN_REQUEST_EXPIRED
BoxFile
is expired.public static final BoxWebHook.Trigger SIGN_REQUEST_SIGNER_EMAIL_BOUNCED
public static final BoxWebHook.Trigger SIGN_REQUEST_SIGNER_SIGNED
public static final BoxWebHook.Trigger SIGN_REQUEST_SIGNATURE_REQUESTED
public static final BoxWebHook.Trigger SIGN_REQUEST_ERROR_FINALIZING
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 static BoxWebHook.Trigger fromValue(String value)
value
- value to get the Trigger enum value forpublic String getValue()
String
representation for BoxWebHook.Trigger
.