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

io.oasp.module.basic.configuration.SpringProfileConstants Maven / Gradle / Ivy

Go to download

Basic code for common usage (such as base classes for transfer objects) of the Open Application Standard Platform for Java (OASP4J).

The newest version!
package io.oasp.module.basic.configuration;

/**
 * This class provides {@code String} constants which allow to distinguish several bean definition profiles. The
 * constants should be used in {@code @Profile} annotations to avoid multiple points of failure (e.g., through typos
 * within annotations).
* In test scenarios, these constants should be used in conjunction with the {@code @ActiveProfile} annotation. * * @since 2.1.0 * @deprecated please use {@link io.oasp.module.basic.common.api.config.SpringProfileConstants} instead. */ @Deprecated public class SpringProfileConstants { /** * This constant applies to all tests. */ public static final String JUNIT = "junit"; /** * This constant denotes a live profile. */ public static final String NOT_JUNIT = "!" + JUNIT; /** * This constant should be used in conjunction with component tests. */ public static final String COMPONENT_TEST = "component-test"; /** * This constant should be used in conjunction with module tests. */ public static final String MODULE_TEST = "module-test"; /** * This constant should be used in conjunction with subsystem tests. */ public static final String SUBSYSTEM_TEST = "subsystem-test"; /** * This constant should be used in conjunction with system tests. */ public static final String SYSTEM_TEST = "system-test"; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy