Class RoleBuilder

  • All Implemented Interfaces:
    net.anotheria.asg.data.Builder<Role>

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

      • contextInitializers

        protected List<String> contextInitializers
      • description

        protected String description
    • Constructor Detail

      • RoleBuilder

        public RoleBuilder()
    • Method Detail

      • 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>