Record Class AugmentProcessor.AugmentContext
java.lang.Object
java.lang.Record
xericker.arenalegends.handler.placeholder.processor.player.AugmentProcessor.AugmentContext
- Enclosing class:
AugmentProcessor
public static record AugmentProcessor.AugmentContext(AugmentData data, boolean questFinished)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAugmentContext(AugmentData data, boolean questFinished) Creates an instance of aAugmentContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thequestFinishedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AugmentContext
Creates an instance of aAugmentContextrecord class.- Parameters:
data- the value for thedatarecord componentquestFinished- the value for thequestFinishedrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
questFinished
public boolean questFinished()Returns the value of thequestFinishedrecord component.- Returns:
- the value of the
questFinishedrecord component
-