Class EnvironmentProfiles

java.lang.Object
ubic.gemma.core.context.EnvironmentProfiles

public class EnvironmentProfiles extends Object
Spring profile name constants used in the Gemma context.

The environment profiles (PRODUCTION, DEV, TEST) are mutually exclusive: exactly one must be active. The feature profiles (WEB, CLI, SCHEDULER, METRICS, PROFILING) are independent toggles that may be combined with any environment profile.

Author:
poirigui
  • Field Details

    • PRODUCTION

      public static final String PRODUCTION
      Mutually-exclusive environment profiles. Exactly one must be active at runtime.
      See Also:
    • DEV

      public static final String DEV
      Mutually-exclusive environment profiles. Exactly one must be active at runtime.
      See Also:
    • TEST

      public static final String TEST
      Mutually-exclusive environment profiles. Exactly one must be active at runtime.
      See Also:
    • WEB

      public static final String WEB
      Independent feature toggles. Any combination (including zero) may be active alongside an environment profile.
      See Also:
    • CLI

      public static final String CLI
      Independent feature toggles. Any combination (including zero) may be active alongside an environment profile.
      See Also:
    • SCHEDULER

      public static final String SCHEDULER
      Independent feature toggles. Any combination (including zero) may be active alongside an environment profile.
      See Also:
    • METRICS

      public static final String METRICS
      Independent feature toggles. Any combination (including zero) may be active alongside an environment profile.
      See Also:
    • PROFILING

      public static final String PROFILING
      Independent feature toggles. Any combination (including zero) may be active alongside an environment profile.
      See Also:
  • Constructor Details

    • EnvironmentProfiles

      public EnvironmentProfiles()