Package org.opencms.ade.publish.shared
Enum CmsPublishResourceInfo.Type
java.lang.Object
java.lang.Enum<CmsPublishResourceInfo.Type>
org.opencms.ade.publish.shared.CmsPublishResourceInfo.Type
- All Implemented Interfaces:
Serializable
,Comparable<CmsPublishResourceInfo.Type>
,java.lang.constant.Constable
- Enclosing class:
- CmsPublishResourceInfo
Reason value constants, when resources can not be published.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe resource is still used in the online project.Resource is locked by another user.The resource is missing in the online project.User does not have enough permissions.Resource has been already published.Changed related resource can not be published.Resource is already in the workflow. -
Method Summary
Modifier and TypeMethodDescriptionstatic CmsPublishResourceInfo.Type
Returns the enum constant of this type with the specified name.static CmsPublishResourceInfo.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BROKENLINK
The resource is still used in the online project. -
LOCKED
Resource is locked by another user. -
MISSING
The resource is missing in the online project. -
PERMISSIONS
User does not have enough permissions. -
PUBLISHED
Resource has been already published. -
RELATED
Changed related resource can not be published. -
WORKFLOW
Resource is already in the workflow.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-