Record Class GetScheduleParents.Metric
java.lang.Object
java.lang.Record
io.fluxzero.common.api.scheduling.GetScheduleParents.Metric
- Enclosing class:
GetScheduleParents
Payload-free request summary.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theparentCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Metric
public Metric(int parentCount) Creates an instance of aMetricrecord class.- Parameters:
parentCount- the value for theparentCountrecord 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
parentCount
public int parentCount()Returns the value of theparentCountrecord component.- Returns:
- the value of the
parentCountrecord component
-