Class ServerAdminFeatures

    • Constructor Detail

      • ServerAdminFeatures

        public ServerAdminFeatures​(AppContext appContext)
        Constructor for ServerAdminFeatures.
        Parameters:
        appContext - AppContext
    • Method Detail

      • resolveFeature

        public boolean resolveFeature​(java.lang.String feature)
        Description copied from class: AbstractWebFeatures
        Derived classes are expected to implement this method to indicate whether the feature is supported
        Overrides:
        resolveFeature in class AggregatedWebFeatures
        Parameters:
        feature - the feature to check for
        Returns:
        boolean indicating whether the feature is supported
      • resolveCustomFeature

        public boolean resolveCustomFeature​(java.lang.String feature)
        Description copied from class: AggregatedWebFeatures

        This method should be used to resolve new features or disable existing ones. It will only be call if the original feature is enabled.

        By convention this method should return true for unknown feature-ids.

        Specified by:
        resolveCustomFeature in class AggregatedWebFeatures
        Parameters:
        feature - Feature-id
        Returns:
        true to enable a feature (default). false to disable it.