public class TeamFolderChangeStatusDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected TeamFolderStatus |
newValue |
protected TeamFolderStatus |
previousValue |
Constructor and Description |
---|
TeamFolderChangeStatusDetails(TeamFolderStatus newValue)
Changed archival status of team folder.
|
TeamFolderChangeStatusDetails(TeamFolderStatus newValue,
TeamFolderStatus previousValue)
Changed archival status of team folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
TeamFolderStatus |
getNewValue()
New team folder status.
|
TeamFolderStatus |
getPreviousValue()
Previous team folder status.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final TeamFolderStatus newValue
protected final TeamFolderStatus previousValue
public TeamFolderChangeStatusDetails(TeamFolderStatus newValue, TeamFolderStatus previousValue)
newValue
- New team folder status. Must not be null
.previousValue
- Previous team folder status. Might be missing due
to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public TeamFolderChangeStatusDetails(TeamFolderStatus newValue)
The default values for unset fields will be used.
newValue
- New team folder status. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public TeamFolderStatus getNewValue()
null
.public TeamFolderStatus 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.