Class PermissionBuilder
- java.lang.Object
-
- net.anotheria.anosite.gen.anoaccessconfiguration.data.PermissionBuilder
-
- All Implemented Interfaces:
net.anotheria.asg.data.Builder<Permission>
public class PermissionBuilder extends Object implements net.anotheria.asg.data.Builder<Permission>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaccessOperationprotected List<String>constraintsprotected booleandenyprotected Stringdescriptionprotected Stringnameprotected intpriority
-
Constructor Summary
Constructors Constructor Description PermissionBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionBuilderaccessOperation(String aValue)Sets the value of the accessOperation attribute.Permissionbuild()PermissionBuilderconstraints(List<String> aValue)Sets the value of the constraints attribute.PermissionBuilderdeny(boolean aValue)Sets the value of the deny attribute.PermissionBuilderdescription(String aValue)Sets the value of the description attribute.PermissionBuildername(String aValue)Sets the value of the name attribute.PermissionBuilderpriority(int aValue)Sets the value of the priority attribute.
-
-
-
Method Detail
-
name
public PermissionBuilder name(String aValue)
Sets the value of the name attribute.
-
priority
public PermissionBuilder priority(int aValue)
Sets the value of the priority attribute.
-
deny
public PermissionBuilder deny(boolean aValue)
Sets the value of the deny attribute.
-
constraints
public PermissionBuilder constraints(List<String> aValue)
Sets the value of the constraints attribute.
-
description
public PermissionBuilder description(String aValue)
Sets the value of the description attribute.
-
accessOperation
public PermissionBuilder accessOperation(String aValue)
Sets the value of the accessOperation attribute.
-
build
public Permission build()
- Specified by:
buildin interfacenet.anotheria.asg.data.Builder<Permission>
-
-