java.lang.Object
net.anotheria.anosite.gen.anoaccessconfiguration.data.RoleBuilder
All Implemented Interfaces:
net.anotheria.asg.data.Builder<Role>

public class RoleBuilder extends Object implements net.anotheria.asg.data.Builder<Role>
  • Field Details

    • name

      protected String name
    • permissions

      protected List<String> permissions
    • contextInitializers

      protected List<String> contextInitializers
    • description

      protected String description
  • Constructor Details

    • RoleBuilder

      public RoleBuilder()
  • Method Details

    • name

      public RoleBuilder name(String aValue)
      Sets the value of the name attribute.
    • permissions

      public RoleBuilder permissions(List<String> aValue)
      Sets the value of the permissions attribute.
    • contextInitializers

      public RoleBuilder contextInitializers(List<String> aValue)
      Sets the value of the contextInitializers attribute.
    • description

      public RoleBuilder description(String aValue)
      Sets the value of the description attribute.
    • build

      public Role build()
      Specified by:
      build in interface net.anotheria.asg.data.Builder<Role>