Interface EnvironmentAwareConfiguration


  • @Deprecated
    public interface EnvironmentAwareConfiguration
    Deprecated.
    in 5.2.0, use Platform.instance.getProjectEnvironment
    Used by configuration objects or classes that need to have the current environment information, like the following classes do: Configuration, ConfigurationFactory, ImportConfiguration.

    Note: environments are not persisted along with the configuration

    • Method Detail

      • setEnvironment

        void setEnvironment​(java.lang.String environment)
        Deprecated.
        Set the current environment
        Parameters:
        environment -
      • getEnvironment

        java.lang.String getEnvironment()
        Deprecated.
        Get the current environment
        Returns:
        null if none specified, otherwise the environment set