Class ContentDraftService.ConflictPolicy
- java.lang.Object
-
- com.atlassian.confluence.api.model.BaseApiEnum
-
- com.atlassian.confluence.api.service.content.ContentDraftService.ConflictPolicy
-
- All Implemented Interfaces:
ApiEnum
- Enclosing interface:
- ContentDraftService
public static class ContentDraftService.ConflictPolicy extends BaseApiEnum
The conflict resolution policy to apply when a conflict occurs.Currently only one policy is supported, ABORT.
-
-
Field Summary
Fields Modifier and Type Field Description static ContentDraftService.ConflictPolicyABORTIf a conflict occurs the update is aborted with a ConflictException which converts to a http 409 error-
Fields inherited from class com.atlassian.confluence.api.model.BaseApiEnum
value
-
-
Constructor Summary
Constructors Constructor Description ConflictPolicy(String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static ContentDraftService.ConflictPolicyvalueOf(String str)
-
-
-
Field Detail
-
ABORT
public static final ContentDraftService.ConflictPolicy ABORT
If a conflict occurs the update is aborted with a ConflictException which converts to a http 409 error
-
-
Constructor Detail
-
ConflictPolicy
public ConflictPolicy(String value)
-
-
Method Detail
-
getValue
public String getValue()
- Overrides:
getValuein classBaseApiEnum
-
valueOf
public static ContentDraftService.ConflictPolicy valueOf(String str)
-
-