Record Class ExecutionData
java.lang.Object
java.lang.Record
com.sk89q.worldedit.internal.expression.ExecutionData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ExecutionDataSpecial execution context for evaluating constant values.
- 
Constructor SummaryConstructorsConstructorDescriptionExecutionData(SlotTable slots, Functions functions, Instant deadline) Creates an instance of aExecutionDatarecord class.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeadline()Returns the value of thedeadlinerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionsrecord component.final inthashCode()Returns a hash code value for this object.slots()Returns the value of theslotsrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
CONSTANT_EVALUATORSpecial execution context for evaluating constant values. As long as no variables are used, it can be considered constant.
 
- 
- 
Constructor Details- 
ExecutionDataCreates an instance of aExecutionDatarecord class.- Parameters:
- slots- the value for the- slotsrecord component
- functions- the value for the- functionsrecord component
- deadline- the value for the- deadlinerecord component
 
 
- 
- 
Method Details- 
slotsReturns the value of theslotsrecord component.- Returns:
- the value of the slotsrecord component
 
- 
functionsReturns the value of thefunctionsrecord component.- Returns:
- the value of the functionsrecord component
 
- 
checkDeadlinepublic void checkDeadline()
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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).
- 
deadlineReturns the value of thedeadlinerecord component.- Returns:
- the value of the deadlinerecord component
 
 
-