Interface WatchedEntitiesConfiguration


  • @Role
    public interface WatchedEntitiesConfiguration
    Configuration for the Watched Entities feature.
    Since:
    9.8RC1
    Version:
    $Id: a1e9e2a503ceb2cdfe499d30ed17d00c94cadbe3 $
    • Method Detail

      • isEnabled

        boolean isEnabled()
        Returns:
        if the watched entities feature is enabled
      • getAutomaticWatchMode

        AutomaticWatchMode getAutomaticWatchMode​(org.xwiki.model.reference.DocumentReference user)
        Parameters:
        user - the user
        Returns:
        the automatic watch mode configured for the given user
      • getDefaultAutomaticWatchMode

        AutomaticWatchMode getDefaultAutomaticWatchMode​(org.xwiki.model.reference.WikiReference wikiReference)
        Parameters:
        wikiReference - a reference to a wiki
        Returns:
        the automatic watch mode configured for the given wiki
        Since:
        9.11.8, 10.6RC1