Class Configuration

java.lang.Object
be.gaudry.model.config.Configuration

public class Configuration extends Object
Author:
Steph GAUDRY
  • Method Details

    • getInstance

      public static Configuration getInstance()
    • isFeatureAdmin

      public static boolean isFeatureAdmin()
      Returns:
      true if the admin features should be available
    • isFeatureAdvance

      public static boolean isFeatureAdvance()
      Returns:
      true if the advanced features should be available
    • isFeatureDev

      public static boolean isFeatureDev()
      Returns:
      true if the developer features should be available
    • setFeature

      public void setFeature(Configuration.Feature feature, boolean enabled)
    • getFeature

      public boolean getFeature(Configuration.Feature feature)
    • getFeature

      public boolean getFeature(Configuration.Feature feature, boolean defaultEnabled)