Interface LoadOptions

  • All Known Implementing Classes:
    DefaultLoadOptions

    public interface LoadOptions
    Interface defining several options for altering the way permission nodes are loaded
    • Method Detail

      • getNodeNamePattern

        String getNodeNamePattern()
        A string pattern used to match the nodes to load.
        Returns:
        A string used to compare against the node name. If null or empty then this option is ruled out.
      • getResourceIds

        Collection<String> getResourceIds()
        The resource identifiers to take into account when loading the children nodes.
        Returns:
        A collection of ids If null or empty then this option is ruled out.
      • getMaxNodes

        int getMaxNodes()
        The maximum number of nodes to load.

        NOTE: It can only be used in combination with the getNodeNamePattern() option.

        Returns:
        A positive integer. If 0 or negative integer then all nodes are loaded.