Record Class AppConfig
java.lang.Object
java.lang.Record
br.com.vantroba.bi.transporte.comum.config.AppConfig
- Record Components:
baseUrl- URL base da aplicação (sem barra final exigida — consumidores normalizam).
Configuração de nível
app.* compartilhada entre beans — prefixo app.
Por ora carrega só a URL base pública, usada para montar links absolutos em notificações
(Telegram, admin). Binding relaxado: APP_BASE_URL → baseUrl().
Vazio (default) significa link relativo; o TelegramService aplica um fallback
próprio quando precisa de URL absoluta.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseUrl()Returns the value of thebaseUrlrecord 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.
-
Constructor Details
-
AppConfig
-
-
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). -
baseUrl
-