All Downloads are FREE. Search and download functionalities are using the official Maven repository.

in.hocg.boot.test.autoconfiguration.TestAutoConfiguration Maven / Gradle / Ivy

The newest version!
package in.hocg.boot.test.autoconfiguration;

import in.hocg.boot.test.autoconfiguration.properties.TestProperties;
import lombok.RequiredArgsConstructor;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Lazy;

/**
 * Created by hocgin on 2020/8/15
 * email: [email protected]
 *
 * @author hocgin
 */
@Configuration
@ConditionalOnProperty(prefix = TestProperties.PREFIX, name = "enabled", matchIfMissing = true)
@EnableConfigurationProperties(TestProperties.class)
@RequiredArgsConstructor(onConstructor = @__(@Lazy))
public class TestAutoConfiguration {

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy