Package be.gaudry.model.config
Class Configuration
java.lang.Object
be.gaudry.model.config.Configuration
- Author:
- Steph GAUDRY
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Features are only readable in a static access. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFeature(Configuration.Feature feature)
boolean
getFeature(Configuration.Feature feature, boolean defaultEnabled)
static Configuration
static boolean
static boolean
static boolean
void
setFeature(Configuration.Feature feature, boolean enabled)
-
Method Details
-
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
-
getFeature
-
getFeature
-