Record Class AdminAccountChanges.Outcome
java.lang.Object
java.lang.Record
com.iizix.server.user.AdminAccountChanges.Outcome
- Record Components:
refusal- Why nothing was changed, for the administrator; null when the change was made.notice- What did not go as planned after the change was made (a mail), for the administrator; null when nothing is to report.
- Enclosing class:
AdminAccountChanges
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisDone()Checks if the change was made.notice()Returns the value of thenoticerecord component.refusal()Returns the value of therefusalrecord component.final StringtoString()Returns a string representation of this record class.
Constructor Details
Outcome
Method Details
isDone
public boolean isDone()Checks if the change was made.- Returns:
- true when it was made (a notice may still be set).
toString
hashCode
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).refusal
notice