public class Restriction extends Object
Restriction
reflects a single restriction for CDS services or entities as defined with @restrict resp. @requires annotations.Constructor and Description |
---|
Restriction() |
Modifier and Type | Method and Description |
---|---|
Restriction |
addPrivilege(Privilege privilege) |
Restriction |
addPrivileges(Privilege... privileges) |
Stream<Privilege> |
privileges() |
public Restriction addPrivileges(Privilege... privileges)
public Restriction addPrivilege(Privilege privilege)
Copyright © 2023. All rights reserved.