Package org.nuxeo.ecm.core.versioning
Class VersioningPolicyDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.versioning.VersioningPolicyDescriptor
-
- All Implemented Interfaces:
Comparable<VersioningPolicyDescriptor>
public class VersioningPolicyDescriptor extends Object implements Comparable<VersioningPolicyDescriptor>
- Since:
- 9.1
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
beforeUpdate
protected List<String>
filterIds
protected String
id
protected VersioningOption
increment
protected InitialStateDescriptor
initialState
protected Integer
order
-
Constructor Summary
Constructors Constructor Description VersioningPolicyDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(VersioningPolicyDescriptor versioningPolicyDescriptor)
List<String>
getFilterIds()
String
getId()
VersioningOption
getIncrement()
InitialStateDescriptor
getInitialState()
int
getOrder()
boolean
isBeforeUpdate()
void
merge(VersioningPolicyDescriptor other)
String
toString()
-
-
-
Field Detail
-
id
protected String id
-
order
protected Integer order
-
increment
protected VersioningOption increment
-
beforeUpdate
protected boolean beforeUpdate
-
initialState
protected InitialStateDescriptor initialState
-
-
Method Detail
-
getId
public String getId()
-
getOrder
public int getOrder()
-
getIncrement
public VersioningOption getIncrement()
-
isBeforeUpdate
public boolean isBeforeUpdate()
-
getInitialState
public InitialStateDescriptor getInitialState()
-
merge
public void merge(VersioningPolicyDescriptor other)
-
compareTo
public int compareTo(VersioningPolicyDescriptor versioningPolicyDescriptor)
- Specified by:
compareTo
in interfaceComparable<VersioningPolicyDescriptor>
-
-