// Path: bucket4j-spring-boot-starter-context/src/main/java/com/giffing/bucket4j/spring/boot/starter/context/Bucket4jConfigurationHolder.java
// public class Bucket4jConfigurationHolder {
// 
// 	private List<Bucket4JConfiguration> filterConfiguration = new ArrayList<>();
// 
// 	public void addFilterConfiguration(Bucket4JConfiguration filterConfiguration) {
// 		getFilterConfiguration().add(filterConfiguration);
// 	}
// 	
// 	public List<Bucket4JConfiguration> getFilterConfiguration() {
// 		return filterConfiguration;
// 	}
// 
// 	public void setFilterConfiguration(List<Bucket4JConfiguration> filterConfiguration) {
// 		this.filterConfiguration = filterConfiguration;
// 	}
// 	
// }


import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import com.giffing.bucket4j.spring.boot.starter.context.Bucket4jConfigurationHolder;

package com.giffing.bucket4j.spring.boot.starter.config.metrics.actuator;




@Configuration
@ConditionalOnClass(Endpoint.class)
public class Bucket4jEndpoint {

	@Configuration
	@Endpoint(id = "bucket4j")
	public static class Bucket4jEndpointConfig {

		@Autowired(required = false)
		@Qualifier("SERVLET")

// Path: bucket4j-spring-boot-starter-context/src/main/java/com/giffing/bucket4j/spring/boot/starter/context/Bucket4jConfigurationHolder.java
// public class Bucket4jConfigurationHolder {
// 
// 	private List<Bucket4JConfiguration> filterConfiguration = new ArrayList<>();
// 
// 	public void addFilterConfiguration(Bucket4JConfiguration filterConfiguration) {
// 		getFilterConfiguration().add(filterConfiguration);
// 	}
// 	
// 	public List<Bucket4JConfiguration> getFilterConfiguration() {
// 		return filterConfiguration;
// 	}
// 
// 	public void setFilterConfiguration(List<Bucket4JConfiguration> filterConfiguration) {
// 		this.filterConfiguration = filterConfiguration;
// 	}
// 	
// }


// Path: bucket4j-spring-boot-starter/src/main/java/com/giffing/bucket4j/spring/boot/starter/config/metrics/actuator/Bucket4jEndpoint.java
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.actuate.endpoint.annotation.Endpoint;
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import com.giffing.bucket4j.spring.boot.starter.context.Bucket4jConfigurationHolder;

package com.giffing.bucket4j.spring.boot.starter.config.metrics.actuator;




@Configuration
@ConditionalOnClass(Endpoint.class)
public class Bucket4jEndpoint {

	@Configuration
	@Endpoint(id = "bucket4j")
	public static class Bucket4jEndpointConfig {

		@Autowired(required = false)
		@Qualifier("SERVLET")

		private Bucket4jConfigurationHolder servletConfigs;
