Package org.eclipse.ditto.model.policies
Interface PolicyRevision
-
- All Superinterfaces:
Comparable<PolicyRevision>
,org.eclipse.ditto.model.base.entity.Revision<PolicyRevision>
public interface PolicyRevision extends org.eclipse.ditto.model.base.entity.Revision<PolicyRevision>
Represents the current revision of a Policy.
-
-
Method Summary
Static Methods Modifier and Type Method Description static PolicyRevision
newInstance(long revisionNumber)
Returns a new immutablePolicyRevision
which is initialised with the given revision number.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
newInstance
static PolicyRevision newInstance(long revisionNumber)
Returns a new immutablePolicyRevision
which is initialised with the given revision number.- Parameters:
revisionNumber
- thelong
value of the revision.- Returns:
- the new immutable
PolicyRevision
.
-
-