create static method

LCRole create(
  1. String name,
  2. LCACL acl
)

Creates a role.

Role must have a name (which cannot be changed after creation), and must specify a LCACL.

Implementation

static LCRole create(String name, LCACL acl) {
  LCRole role = new LCRole();
  role.name = name;
  role.acl = acl;
  return role;
}