Package de.trustable.ca3s.core.config
Class DefaultProfileUtil
- java.lang.Object
-
- de.trustable.ca3s.core.config.DefaultProfileUtil
-
public final class DefaultProfileUtil extends Object
Utility class to load a Spring profile to be used as default when there is nospring.profiles.activeset in the environment or as command line argument. If the value is not available inapplication.ymlthendevprofile will be used as default.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddDefaultProfile(org.springframework.boot.SpringApplication app)Set a default to use when no profile is configured.
-