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 java.lang.Object implements net.anotheria.asg.data.Builder<Permission>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringaccessOperationprotected java.util.List<java.lang.String>constraintsprotected booleandenyprotected java.lang.Stringdescriptionprotected java.lang.Stringnameprotected intpriority
-
Constructor Summary
Constructors Constructor Description PermissionBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionBuilderaccessOperation(java.lang.String aValue)Sets the value of the accessOperation attribute.Permissionbuild()PermissionBuilderconstraints(java.util.List<java.lang.String> aValue)Sets the value of the constraints attribute.PermissionBuilderdeny(boolean aValue)Sets the value of the deny attribute.PermissionBuilderdescription(java.lang.String aValue)Sets the value of the description attribute.PermissionBuildername(java.lang.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(java.lang.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(java.util.List<java.lang.String> aValue)
Sets the value of the constraints attribute.
-
description
public PermissionBuilder description(java.lang.String aValue)
Sets the value of the description attribute.
-
accessOperation
public PermissionBuilder accessOperation(java.lang.String aValue)
Sets the value of the accessOperation attribute.
-
build
public Permission build()
- Specified by:
buildin interfacenet.anotheria.asg.data.Builder<Permission>
-
-