Interface ExoFeatureService


  • public interface ExoFeatureService
    • Method Detail

      • isActiveFeature

        boolean isActiveFeature​(String featureName)
        Check the status of a feature
        Parameters:
        featureName -
        Returns:
        true if the featureName is on, false if it's off
      • saveActiveFeature

        void saveActiveFeature​(String featureName,
                               boolean isActive)
        Switch feature featureName on or off
        Parameters:
        featureName -
        isActive - new status of feature, true = on and false = off
      • addFeaturePlugin

        void addFeaturePlugin​(FeaturePlugin featurePlugin)
        Add a feature plugin that will manage feature enablement that will be applied only on one feature identified by its name
        Parameters:
        featurePlugin - of type FeaturePlugin
      • isFeatureActiveForUser

        boolean isFeatureActiveForUser​(String featureName,
                                       String username)
        Determines whether the feature is active for a user or not
        Parameters:
        featureName -
        username -
        Returns:
        true if active, else false