Package org.europa.together.application
Class FF4jProcessor
- java.lang.Object
-
- org.europa.together.application.FF4jProcessor
-
@FeatureToggle(featureID="CM-0013") public class FF4jProcessor extends Object
Wrapper implementation.
-
-
Constructor Summary
Constructors Constructor Description FF4jProcessor()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deactivateUnitTests(String featureId)
Toggle to deactivate the unit test case execution in the case a feature is disabled.org.ff4j.core.Feature
scanToggels(String featureId)
Process if a feature exist and is activated.void
setConfigFile(String configuration)
Set the path of the configuration file.
-
-
-
Method Detail
-
scanToggels
public org.ff4j.core.Feature scanToggels(String featureId)
Process if a feature exist and is activated. If a feature is deactivated or not exist the return will ne null.- Parameters:
featureId
- as String- Returns:
- feature as Feature
-
setConfigFile
public void setConfigFile(String configuration)
Set the path of the configuration file.- Parameters:
configuration
- as String
-
deactivateUnitTests
public boolean deactivateUnitTests(String featureId)
Toggle to deactivate the unit test case execution in the case a feature is disabled.- Parameters:
featureId
- as string- Returns:
- true on success
-
-