Class FF4jProcessor

    • Constructor Detail

      • FF4jProcessor

        public FF4jProcessor()
        Constructor.
    • 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