Class SpringProfileConstants


  • public class SpringProfileConstants
    extends Object
    This class provides String constants which allow to distinguish several bean definition profiles. The constants should be used in @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 @ActiveProfile annotation.
    Since:
    3.0.0