Package io.vertigo.core.node.config
Record Class DefinitionProviderConfig
java.lang.Object
java.lang.Record
io.vertigo.core.node.config.DefinitionProviderConfig
public record DefinitionProviderConfig(Class<? extends DefinitionProvider> definitionProviderClass, Map<String,String> params, List<DefinitionResourceConfig> definitionResourceConfigs)
extends Record
- Author:
- mlaroche
-
Constructor Summary
ConstructorsConstructorDescriptionDefinitionProviderConfig(Class<? extends DefinitionProvider> definitionProviderClass, Map<String, String> params, List<DefinitionResourceConfig> definitionResourceConfigs) Creates an instance of aDefinitionProviderConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder(Class<? extends DefinitionProvider> definitionProviderClass) Static method factory for DefinitionProviderConfigBuilderClass<? extends DefinitionProvider> Returns the value of thedefinitionProviderClassrecord component.Returns the value of thedefinitionResourceConfigsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.params()Returns the value of theparamsrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
DefinitionProviderConfig
public DefinitionProviderConfig(Class<? extends DefinitionProvider> definitionProviderClass, Map<String, String> params, List<DefinitionResourceConfig> definitionResourceConfigs) Creates an instance of aDefinitionProviderConfigrecord class.- Parameters:
definitionProviderClass- the value for thedefinitionProviderClassrecord componentparams- the value for theparamsrecord componentdefinitionResourceConfigs- the value for thedefinitionResourceConfigsrecord component
-
-
Method Details
-
builder
public static DefinitionProviderConfigBuilder builder(Class<? extends DefinitionProvider> definitionProviderClass) Static method factory for DefinitionProviderConfigBuilder- Parameters:
definitionProviderClass- the class of the definitionProvider- Returns:
- ComponentConfigBuilder
-
toString
Returns 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. -
hashCode
public 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. -
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). -
definitionProviderClass
Returns the value of thedefinitionProviderClassrecord component.- Returns:
- the value of the
definitionProviderClassrecord component
-
params
Returns the value of theparamsrecord component.- Returns:
- the value of the
paramsrecord component
-
definitionResourceConfigs
Returns the value of thedefinitionResourceConfigsrecord component.- Returns:
- the value of the
definitionResourceConfigsrecord component
-