Enum Key

  • All Implemented Interfaces:
    Serializable, Comparable<Key>

    public enum Key
    extends Enum<Key>
    Keys for the DeveloperSettings. Each key holds these values: A property name, which specifies the key in developer.properties, like "this.thatThing" A flag to say whether this key controls a boolean value. If false, then the value is a string. We can derive the element ID for each key by replacing the periods in the property name with underscores.
    • Enum Constant Detail

      • ENABLED

        public static final Key ENABLED
        Developer mode and developer panel is enabled.
      • PERMIT_ANONYMOUS_CONTROL

        public static final Key PERMIT_ANONYMOUS_CONTROL
        If the developer panel is enabled, may an anonymous user change the settings?
      • DEFEAT_FREEMARKER_CACHE

        public static final Key DEFEAT_FREEMARKER_CACHE
        Load Freemarker templates every time they are requested.
      • INSERT_FREEMARKER_DELIMITERS

        public static final Key INSERT_FREEMARKER_DELIMITERS
        Show where each Freemarker template starts and stops.
      • I18N_DEFEAT_CACHE

        public static final Key I18N_DEFEAT_CACHE
        Load language property files every time they are requested.
      • I18N_ONLINE_TRANSLATION

        public static final Key I18N_ONLINE_TRANSLATION
        Enable online translations.
      • I18N_LOG_STRINGS

        public static final Key I18N_LOG_STRINGS
        Enable the I18nLogger to log each string request.
      • LOGGING_RDF_ENABLE

        public static final Key LOGGING_RDF_ENABLE
        Enable the LoggingRDFService
      • LOGGING_RDF_STACK_TRACE

        public static final Key LOGGING_RDF_STACK_TRACE
        When logging with the LoggingRDFService, include a stack trace
      • LOGGING_RDF_QUERY_RESTRICTION

        public static final Key LOGGING_RDF_QUERY_RESTRICTION
        Don't log with the LoggingRDFService unless the calling stack meets this restriction.
      • LOGGING_RDF_STACK_RESTRICTION

        public static final Key LOGGING_RDF_STACK_RESTRICTION
        Don't log with the LoggingRDFService unless the calling stack meets this restriction.
      • PAGE_CONTENTS_LOG_CUSTOM_LIST_VIEW

        public static final Key PAGE_CONTENTS_LOG_CUSTOM_LIST_VIEW
        Tell the CustomListViewLogger to note the use of non-default custom list views.
      • PAGE_CONTENTS_LOG_CUSTOM_SHORT_VIEW

        public static final Key PAGE_CONTENTS_LOG_CUSTOM_SHORT_VIEW
        Tell the ShortViewLogger to note the use of non-default short views.
      • SEARCH_INDEX_ENABLE

        public static final Key SEARCH_INDEX_ENABLE
        Tell the SearchEngineLogger to log all indexing operations.
      • SEARCH_INDEX_SHOW_DOCUMENTS

        public static final Key SEARCH_INDEX_SHOW_DOCUMENTS
        Add the document contents to the log of indexing operations.
      • SEARCH_INDEX_URI_OR_NAME_RESTRICTION

        public static final Key SEARCH_INDEX_URI_OR_NAME_RESTRICTION
        Log indexing operations only if one of the document identifiers match this regular expression.
      • SEARCH_INDEX_DOCUMENT_RESTRICTION

        public static final Key SEARCH_INDEX_DOCUMENT_RESTRICTION
        Log indexing operations only if the document contents match this regular expression.
      • SEARCH_INDEX_LOG_INDEXING_BREAKDOWN_TIMINGS

        public static final Key SEARCH_INDEX_LOG_INDEXING_BREAKDOWN_TIMINGS
        Accumulate breakdown timings for search indexing, and log them at the end of the indexing operation.
      • SEARCH_INDEX_SUPPRESS_MODEL_CHANGE_LISTENER

        public static final Key SEARCH_INDEX_SUPPRESS_MODEL_CHANGE_LISTENER
        If set, don't pass model change events to the search indexer.
      • SEARCH_DELETIONS_ENABLE

        public static final Key SEARCH_DELETIONS_ENABLE
        Tell the SearchEngineLogger to log all index deletions.
      • SEARCH_ENGINE_ENABLE

        public static final Key SEARCH_ENGINE_ENABLE
        Tell the SearchEngineLogger to log all search operations.
      • SEARCH_ENGINE_ADD_STACK_TRACE

        public static final Key SEARCH_ENGINE_ADD_STACK_TRACE
        Add the stack trace to the log of search operations.
      • SEARCH_ENGINE_ADD_RESULTS

        public static final Key SEARCH_ENGINE_ADD_RESULTS
        Add the search results to the log of search operations.
      • SEARCH_ENGINE_QUERY_RESTRICTION

        public static final Key SEARCH_ENGINE_QUERY_RESTRICTION
        Log search operations only if the query matches this regular expression.
      • SEARCH_ENGINE_STACK_RESTRICTION

        public static final Key SEARCH_ENGINE_STACK_RESTRICTION
        Log search operations only if the stack trace matches this regular expression.
      • AUTHORIZATION_LOG_DECISIONS_ENABLE

        public static final Key AUTHORIZATION_LOG_DECISIONS_ENABLE
        Enable the PolicyDecisionLogger.
      • AUTHORIZATION_LOG_DECISIONS_ADD_IDENTIFERS

        public static final Key AUTHORIZATION_LOG_DECISIONS_ADD_IDENTIFERS
        When logging policy decisions, add the identifier bundle.
      • AUTHORIZATION_LOG_DECISIONS_SKIP_INCONCLUSIVE

        public static final Key AUTHORIZATION_LOG_DECISIONS_SKIP_INCONCLUSIVE
        Don't log policy decisions if the decision is INCONCLUSIVE.
      • AUTHORIZATION_LOG_DECISIONS_ACTION_RESTRICTION

        public static final Key AUTHORIZATION_LOG_DECISIONS_ACTION_RESTRICTION
        Don't log policy decisions unless the requested action meets this restriction.
      • AUTHORIZATION_LOG_DECISIONS_USER_RESTRICTION

        public static final Key AUTHORIZATION_LOG_DECISIONS_USER_RESTRICTION
        Don't log policy decisions unless the identifier bundle meets this restriction.
      • AUTHORIZATION_LOG_DECISIONS_POLICY_RESTRICTION

        public static final Key AUTHORIZATION_LOG_DECISIONS_POLICY_RESTRICTION
        Don't log policy decisions unless the policy meets this restriction.
    • Method Detail

      • values

        public static Key[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Key c : Key.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Key valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • propertyName

        public String propertyName()
      • elementId

        public String elementId()