public class SecondaryMailsPolicyChangedDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SecondaryMailsPolicy |
newValue |
protected SecondaryMailsPolicy |
previousValue |
Constructor and Description |
---|
SecondaryMailsPolicyChangedDetails(SecondaryMailsPolicy previousValue,
SecondaryMailsPolicy newValue)
Secondary mails policy changed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
SecondaryMailsPolicy |
getNewValue()
New secondary mails policy.
|
SecondaryMailsPolicy |
getPreviousValue()
Previous secondary mails policy.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final SecondaryMailsPolicy previousValue
protected final SecondaryMailsPolicy newValue
public SecondaryMailsPolicyChangedDetails(SecondaryMailsPolicy previousValue, SecondaryMailsPolicy newValue)
previousValue
- Previous secondary mails policy. Must not be null
.newValue
- New secondary mails policy. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SecondaryMailsPolicy getPreviousValue()
null
.public SecondaryMailsPolicy getNewValue()
null
.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.