public class ChangedEnterpriseAdminRoleDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FedAdminRole |
newValue |
protected FedAdminRole |
previousValue |
protected java.lang.String |
teamName |
Constructor and Description |
---|
ChangedEnterpriseAdminRoleDetails(FedAdminRole previousValue,
FedAdminRole newValue,
java.lang.String teamName)
Changed enterprise admin role.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
FedAdminRole |
getNewValue()
The member’s new enterprise admin role.
|
FedAdminRole |
getPreviousValue()
The member’s previous enterprise admin role.
|
java.lang.String |
getTeamName()
The name of the member’s team.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final FedAdminRole previousValue
protected final FedAdminRole newValue
protected final java.lang.String teamName
public ChangedEnterpriseAdminRoleDetails(FedAdminRole previousValue, FedAdminRole newValue, java.lang.String teamName)
previousValue
- The member’s previous enterprise admin
role. Must not be null
.newValue
- The member’s new enterprise admin role. Must
not be null
.teamName
- The name of the member’s team. Must not be
null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public FedAdminRole getPreviousValue()
null
.public FedAdminRole getNewValue()
null
.public java.lang.String getTeamName()
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.