com.giffing.bucket4j.spring.boot.starter.context.Bucket4jConfigurationHolder Maven / Gradle / Ivy
The newest version!
package com.giffing.bucket4j.spring.boot.starter.context;
import java.util.ArrayList;
import java.util.List;
import com.giffing.bucket4j.spring.boot.starter.context.properties.Bucket4JConfiguration;
import lombok.Data;
@Data
public class Bucket4jConfigurationHolder {
private List filterConfiguration = new ArrayList<>();
public void addFilterConfiguration(Bucket4JConfiguration filterConfiguration) {
getFilterConfiguration().add(filterConfiguration);
}
}