/** * This file is auto generated from JavaDoc. Do not modify it manually. */ import type { Node } from "../../types/javax/jcr/Node"; import type { RoleMatcher } from "../../types/senselogic/sitevision/api/security/RoleMatcher"; import type { Builder } from "../../types/senselogic/sitevision/api/base/Builder"; /** * Builder of RoleMatcher instances. * *
* Tip! The {@link senselogic.sitevision.api.base.Builder Builder interface documentation} contains * more information about Builders and how to work with them! *
* *
* An instance of the Sitevision class implementing this interface can be obtained via
* {@link RoleUtil#getRoleMatcherBuilder()}.
* See {@link RoleUtil} for how to obtain an instance of the RoleUtil interface.
*
* Sets the user and the roles to null. *
* @return this builder */ clear(): RoleMatcherBuilder; /** * Creates a read-only RoleMatcher instance using current state of this builder. * @return a RoleMatcher instance * @throws IllegalStateException if user is not properly set or if no roles are added */ build(): RoleMatcher; } declare namespace RoleMatcherBuilder {} declare var roleMatcherBuilder: RoleMatcherBuilder; export default roleMatcherBuilder;