Record Class PluginManager.EntityDiscovery
java.lang.Object
java.lang.Record
com.ultikits.ultitools.manager.PluginManager.EntityDiscovery
- Enclosing class:
PluginManager
static record PluginManager.EntityDiscovery(Set<Class<?>> entities, DataScope.DirectoryScan directory)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DataScope.DirectoryScanThe field for thedirectoryrecord component.The field for theentitiesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionEntityDiscovery(Set<Class<?>> entities, DataScope.DirectoryScan directory) Creates an instance of aEntityDiscoveryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedirectoryrecord component.entities()Returns the value of theentitiesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
entities
-
directory
The field for thedirectoryrecord component.
-
-
Constructor Details
-
EntityDiscovery
EntityDiscovery(Set<Class<?>> entities, DataScope.DirectoryScan directory) Creates an instance of aEntityDiscoveryrecord class.- Parameters:
entities- the value for theentitiesrecord componentdirectory- the value for thedirectoryrecord 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). -
entities
-
directory
Returns the value of thedirectoryrecord component.- Returns:
- the value of the
directoryrecord component
-