Package io.axoniq.framework.springboot
Class PostgresqlProperties
java.lang.Object
io.axoniq.framework.springboot.PostgresqlProperties
Properties for configuring the Axon Framework PostgreSQL extension.
These properties are bound to the axon.postgresql prefix.
- Since:
- 1.0.0
- Author:
- Steven van Beelen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the PostgreSQL extension is enabled.voidsetEnabled(boolean enabled) Sets whether the PostgreSQL extension is enabled.
-
Constructor Details
-
PostgresqlProperties
public PostgresqlProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether the PostgreSQL extension is enabled.- Returns:
trueif enabled,falseotherwise
-
setEnabled
public void setEnabled(boolean enabled) Sets whether the PostgreSQL extension is enabled.- Parameters:
enabled-trueto enable,falseto disable
-