Class Bucket4JBootProperties
java.lang.Object
com.giffing.bucket4j.spring.boot.starter.context.properties.Bucket4JBootProperties
@ConfigurationProperties(prefix="bucket4j")
public class Bucket4JBootProperties
extends java.lang.Object
Holds all the relevant starter properties which can be configured with
Spring Boots application.properties / application.yml configuration files.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_PREFIX -
Constructor Summary
Constructors Constructor Description Bucket4JBootProperties() -
Method Summary
Modifier and Type Method Description java.lang.BooleangetEnabled()java.util.List<Bucket4JConfiguration>getFilters()static java.lang.StringgetPropertyPrefix()voidsetEnabled(java.lang.Boolean enabled)voidsetFilters(java.util.List<Bucket4JConfiguration> filters)
-
Field Details
-
PROPERTY_PREFIX
public static final java.lang.String PROPERTY_PREFIX- See Also:
- Constant Field Values
-
-
Constructor Details
-
Bucket4JBootProperties
public Bucket4JBootProperties()
-
-
Method Details
-
getEnabled
public java.lang.Boolean getEnabled() -
setEnabled
public void setEnabled(java.lang.Boolean enabled) -
getPropertyPrefix
public static java.lang.String getPropertyPrefix() -
getFilters
-
setFilters
-