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 Details

    • name

      protected String name
    • priority

      protected int priority
    • deny

      protected boolean deny
    • constraints

      protected List<String> constraints
    • description

      protected String description
    • accessOperation

      protected String accessOperation
  • Constructor Details

    • PermissionBuilder

      public PermissionBuilder()
  • Method Details

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