Record Class EnvPropertySourceImporter.EnvImport
java.lang.Object
java.lang.Record
io.micronaut.context.env.EnvPropertySourceImporter.EnvImport
- Record Components:
variableName- The environment variable nameextension- The property source format extensionoptions- Parsed connection string options
- Enclosing class:
EnvPropertySourceImporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.options()Returns the value of theoptionsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevariableNamerecord component.
-
Constructor Details
-
EnvImport
Creates an instance of aEnvImportrecord class.- Parameters:
variableName- the value for thevariableNamerecord componentextension- the value for theextensionrecord componentoptions- the value for theoptionsrecord 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). -
variableName
Returns the value of thevariableNamerecord component.- Returns:
- the value of the
variableNamerecord component
-
extension
-
options
-