public class ExtendedVersionHistoryChangePolicyDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ExtendedVersionHistoryPolicy |
newValue |
protected ExtendedVersionHistoryPolicy |
previousValue |
Constructor and Description |
---|
ExtendedVersionHistoryChangePolicyDetails(ExtendedVersionHistoryPolicy newValue)
Accepted/opted out of extended version history.
|
ExtendedVersionHistoryChangePolicyDetails(ExtendedVersionHistoryPolicy newValue,
ExtendedVersionHistoryPolicy previousValue)
Accepted/opted out of extended version history.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ExtendedVersionHistoryPolicy |
getNewValue()
New extended version history policy.
|
ExtendedVersionHistoryPolicy |
getPreviousValue()
Previous extended version history policy.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final ExtendedVersionHistoryPolicy newValue
protected final ExtendedVersionHistoryPolicy previousValue
public ExtendedVersionHistoryChangePolicyDetails(ExtendedVersionHistoryPolicy newValue, ExtendedVersionHistoryPolicy previousValue)
newValue
- New extended version history policy. Must not be null
.previousValue
- Previous extended version history policy. Might be
missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ExtendedVersionHistoryChangePolicyDetails(ExtendedVersionHistoryPolicy newValue)
The default values for unset fields will be used.
newValue
- New extended version history policy. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ExtendedVersionHistoryPolicy getNewValue()
null
.public ExtendedVersionHistoryPolicy getPreviousValue()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.