Record Class GraphSource<T>
java.lang.Object
java.lang.Record
com.djrapitops.plan.extension.implementation.providers.gathering.GraphSource<T>
public record GraphSource<T>(ExtensionWrapper extension, ExtensionMethod method, T dataSource, AtomicInteger lastSeenColumnCount, Runnable refreshMetadata)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGraphSource(ExtensionWrapper extension, ExtensionMethod method, T dataSource, AtomicInteger lastSeenColumnCount, Runnable refreshMetadata) Creates an instance of aGraphSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataSourcerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theextensionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelastSeenColumnCountrecord component.method()Returns the value of themethodrecord component.Returns the value of therefreshMetadatarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GraphSource
public GraphSource(ExtensionWrapper extension, ExtensionMethod method, T dataSource, AtomicInteger lastSeenColumnCount, Runnable refreshMetadata) Creates an instance of aGraphSourcerecord class.- Parameters:
extension- the value for theextensionrecord componentmethod- the value for themethodrecord componentdataSource- the value for thedataSourcerecord componentlastSeenColumnCount- the value for thelastSeenColumnCountrecord componentrefreshMetadata- the value for therefreshMetadatarecord 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 withObjects::equals(Object,Object). -
extension
Returns the value of theextensionrecord component.- Returns:
- the value of the
extensionrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
dataSource
Returns the value of thedataSourcerecord component.- Returns:
- the value of the
dataSourcerecord component
-
lastSeenColumnCount
Returns the value of thelastSeenColumnCountrecord component.- Returns:
- the value of the
lastSeenColumnCountrecord component
-
refreshMetadata
Returns the value of therefreshMetadatarecord component.- Returns:
- the value of the
refreshMetadatarecord component
-