Class 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 Detail

      • name

        protected java.lang.String name
      • priority

        protected int priority
      • deny

        protected boolean deny
      • constraints

        protected java.util.List<java.lang.String> constraints
      • description

        protected java.lang.String description
      • accessOperation

        protected java.lang.String accessOperation
    • Constructor Detail

      • PermissionBuilder

        public PermissionBuilder()
    • 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:
        build in interface net.anotheria.asg.data.Builder<Permission>