Class ContentStatus
- java.lang.Object
-
- com.atlassian.confluence.api.model.BaseApiEnum
-
- com.atlassian.confluence.api.model.content.ContentStatus
-
- All Implemented Interfaces:
ApiEnum
@ExperimentalApi public final class ContentStatus extends BaseApiEnum
The state of a piece of content.Content state can be used for filtering and for limiting the operations that can be performed on the content.
-
-
Field Summary
Fields Modifier and Type Field Description static List<ContentStatus>
BUILT_IN
static ContentStatus
CURRENT
The default state of content ready to be viewed and edited.static ContentStatus
DRAFT
The state of content that has not yet been publishedstatic ContentStatus
HISTORICAL
The state of content that is not at its latest versionstatic ContentStatus
TRASHED
The state of content that has been trashed but not yet purged from the system.-
Fields inherited from class com.atlassian.confluence.api.model.BaseApiEnum
value
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContentStatus
valueOf(String str)
Return theContentType
for the given type string.
-
-
-
Field Detail
-
CURRENT
public static final ContentStatus CURRENT
The default state of content ready to be viewed and edited.
-
TRASHED
public static final ContentStatus TRASHED
The state of content that has been trashed but not yet purged from the system.
-
HISTORICAL
public static final ContentStatus HISTORICAL
The state of content that is not at its latest version
-
DRAFT
public static final ContentStatus DRAFT
The state of content that has not yet been published- Since:
- 5.10
-
BUILT_IN
public static final List<ContentStatus> BUILT_IN
-
-
Method Detail
-
valueOf
public static ContentStatus valueOf(String str)
Return theContentType
for the given type string. Built-in type constants will be returned if matched.
-
-