Class BaseURLIsValidCriteria

  • All Implemented Interfaces:
    AdminConfigurationCriteria

    public class BaseURLIsValidCriteria
    extends Object
    implements AdminConfigurationCriteria
    Checks that the base URL for Confluence is unlikely to be pointed at localhost or another address with limited visibility on a network.
    Since:
    4.0
    • Constructor Detail

      • BaseURLIsValidCriteria

        public BaseURLIsValidCriteria​(SettingsManager settingsManager)
    • Method Detail

      • isMet

        public boolean isMet()
        Description copied from interface: AdminConfigurationCriteria
        Whether the acceptance criteria is met or not for this admin configuration.
        Specified by:
        isMet in interface AdminConfigurationCriteria
        Returns:
        true if the acceptance criteria is met, false otherwise.
      • getIgnored

        public boolean getIgnored()
        Specified by:
        getIgnored in interface AdminConfigurationCriteria
        Returns:
        true if the acceptance criteria for this configuration has been ignored by an end-user, false otherwise.
      • setIgnored

        public void setIgnored​(boolean ignored)
        Specified by:
        setIgnored in interface AdminConfigurationCriteria
        Parameters:
        ignored - whether this acceptance criteria should be ignored or not.
      • hasLiveValue

        public boolean hasLiveValue()
        Specified by:
        hasLiveValue in interface AdminConfigurationCriteria
        Returns:
        Whether the value for this configuration criteria should always be queried as opposed to cached. Useful for getting live data instead of an 'accepted value' when an associated task is completed.