Class RunInDevModeCondition
java.lang.Object
dev.voidframework.core.conditionalfeature.condition.RunInDevModeCondition
- All Implemented Interfaces:
Condition
Indicates that the feature will only be loaded if the application is run in development
mode (see configuration key
voidframework.core.runInDevMode").- Since:
- 1.7.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEnabled(com.typesafe.config.Config configuration, Class<?> annotatedClassType, AnnotationMetadata annotationMetadata) Checks if the feature must be enabled or not.
-
Constructor Details
-
RunInDevModeCondition
public RunInDevModeCondition()
-
-
Method Details
-
isEnabled
public boolean isEnabled(com.typesafe.config.Config configuration, Class<?> annotatedClassType, AnnotationMetadata annotationMetadata) Description copied from interface:ConditionChecks if the feature must be enabled or not.
-