public PrivilegeItem()

in src/main/java/org/apache/sling/starter/access/models/PrivilegeItem.java [42:52]


    public PrivilegeItem(String name, boolean granted, boolean denied, String longestPath, 
            List<RestrictionItem> allowRestrictions, List<RestrictionItem> denyRestrictions) {
        super();
        this.name = name;
        this.granted = granted;
        this.denied = denied;
        this.longestPath = longestPath;
        this.depth = longestPath.chars().filter(ch -> ch == '/').count();
        this.allowRestrictions = allowRestrictions;
        this.denyRestrictions = denyRestrictions;
    }