Record Class AlgorithmInventoryService.AlgorithmInventory
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.inventory.AlgorithmInventoryService.AlgorithmInventory
- Enclosing class:
AlgorithmInventoryService
-
Constructor Summary
ConstructorsConstructorDescriptionAlgorithmInventory(Map<Class<?>, Collection<Class<?>>> componentsByType, Map<String, Class<?>> componentByName, Map<String, String> aliases, Map<String, AlgorithmComponentFactory> factories, List<ParameterProvider> paramProviders) Creates an instance of aAlgorithmInventoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaliases()Returns the value of thealiasesrecord component.Get all detected algorithm componentsReturns the value of thecomponentByNamerecord component.Map<Class<?>, Collection<Class<?>>> Returns the value of thecomponentsByTyperecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefactoriesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparamProvidersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AlgorithmInventory
public AlgorithmInventory(Map<Class<?>, Collection<Class<?>>> componentsByType, Map<String, Class<?>> componentByName, Map<String, String> aliases, Map<String, AlgorithmComponentFactory> factories, List<ParameterProvider> paramProviders) Creates an instance of aAlgorithmInventoryrecord class.- Parameters:
componentsByType- the value for thecomponentsByTyperecord componentcomponentByName- the value for thecomponentByNamerecord componentaliases- the value for thealiasesrecord componentfactories- the value for thefactoriesrecord componentparamProviders- the value for theparamProvidersrecord component
-
-
Method Details
-
allComponents
-
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). -
componentsByType
Returns the value of thecomponentsByTyperecord component.- Returns:
- the value of the
componentsByTyperecord component
-
componentByName
-
aliases
-
factories
Returns the value of thefactoriesrecord component.- Returns:
- the value of the
factoriesrecord component
-
paramProviders
Returns the value of theparamProvidersrecord component.- Returns:
- the value of the
paramProvidersrecord component
-