Interface ConfConstants

  • All Known Subinterfaces:
    Conf

    @Deprecated
    @ProviderType
    public interface ConfConstants
    Deprecated.
    Use of the open source Apache Sling Context-Aware Configuration API is recommended for new code. The ConfMgr API is backed by the Sling CA implementation and will continue to be supported for existing code.
    Property names etc. for Conf.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME
      Deprecated.
      Property name to use in ValueMaps returned by Conf to retrieve the name of the node the map is based on.
      static java.lang.String NN_SETTINGS
      Deprecated.
      Special node name that separates the configuration tree from the inner item tree of one specific configuration, for example /conf/tenants/nike/settings/dam/imageserver.
      static java.lang.String PN_CONF
      Deprecated.
      Standard name for the reference property used to lookup configurations.
      static java.lang.String PN_MERGE_LIST
      Deprecated.
      Name of a boolean property to enable merging of list items.
      static java.lang.String PN_SYMLINK
      Deprecated.
      Name for the symbolic link property that allows to redirect from a configuration item to a different location in the repository via an absolute path.
      static java.lang.String VAR_END
      Deprecated.
      End of a variable inside a symlink string property
      static java.lang.String VAR_PROPERTY_PREFIX
      Deprecated.
      Symlink variable name prefix evaluating to a property on the target node.
      static java.lang.String VAR_RESOURCE_NAME
      Deprecated.
      Symlink variable name evaluating to the target node name.
      static java.lang.String VAR_START
      Deprecated.
      Begin of a variable inside a symlink string property
    • Field Detail

      • PN_CONF

        static final java.lang.String PN_CONF
        Deprecated.
        Standard name for the reference property used to lookup configurations. For example, a string property on /content pointing to /conf/default.

        This can be single or multi-value string property containing absolute paths. In case of a multi-value, the order is important, with the first entries being the lower level configurations.

        See Also:
        Constant Field Values
      • NN_SETTINGS

        static final java.lang.String NN_SETTINGS
        Deprecated.
        Special node name that separates the configuration tree from the inner item tree of one specific configuration, for example /conf/tenants/nike/settings/dam/imageserver. This is used to remove possible ambiguities between the 2 nested trees. It means that a configuration as referenced from /content cannot use this as name.

        Conceptually similar to "jcr:content", this acts on a higher level in the hierarchy, and has its own name, since individual items within already use the document concept and jcr:content.

        See Also:
        Constant Field Values
      • PN_MERGE_LIST

        static final java.lang.String PN_MERGE_LIST
        Deprecated.
        Name of a boolean property to enable merging of list items. To be set on the list parent or it's "jcr:content" child node if it has one.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        Deprecated.
        Property name to use in ValueMaps returned by Conf to retrieve the name of the node the map is based on. Will be the node name of the actual config item or list item, not the jcr:content child node that ValueMaps will usually be based on.
        See Also:
        Constant Field Values
      • PN_SYMLINK

        static final java.lang.String PN_SYMLINK
        Deprecated.
        Name for the symbolic link property that allows to redirect from a configuration item to a different location in the repository via an absolute path. This is the same property as used for the Sling redirect servlet.

        This can be used to migrate parts of existing application code the Conf API while still pointing to configurations e.g. under /etc that are read or written to by other code that is not updated yet.

        See Also:
        Constant Field Values
      • VAR_START

        static final java.lang.String VAR_START
        Deprecated.
        Begin of a variable inside a symlink string property
        See Also:
        Constant Field Values
      • VAR_END

        static final java.lang.String VAR_END
        Deprecated.
        End of a variable inside a symlink string property
        See Also:
        Constant Field Values
      • VAR_RESOURCE_NAME

        static final java.lang.String VAR_RESOURCE_NAME
        Deprecated.
        Symlink variable name evaluating to the target node name.
        See Also:
        Constant Field Values
      • VAR_PROPERTY_PREFIX

        static final java.lang.String VAR_PROPERTY_PREFIX
        Deprecated.
        Symlink variable name prefix evaluating to a property on the target node. For example "sling:targetProp/some/property" would represent the property at the relative path "some/property" on the target node, or on it's "jcr:content" child if it has one.
        See Also:
        Constant Field Values