Record Class ArmazenamentoConfig
java.lang.Object
java.lang.Record
br.com.xadm.comum.armazenamento.ArmazenamentoConfig
- Record Components:
modo- modo de armazenamento (defaultArmazenamentoModo.PSQL_GARAGE).
@ConfigurationProperties("app.storage")
public record ArmazenamentoConfig(ArmazenamentoModo modo)
extends Record
Configuração do modo de armazenamento do XLS — prefixo
app.storage.*. Binding
relaxado: APP_STORAGE_MODO → modo().-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aArmazenamentoConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.modo()Returns the value of themodorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ArmazenamentoConfig
Creates an instance of aArmazenamentoConfigrecord class.- Parameters:
modo- the value for themodorecord 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). -
modo
-