addParent

public Permission addParent(String name, boolean value)

Adds this permission to the specified parent permission.

If the parent permission does not exist, it will be created and registered.

Return

Parent permission it created or loaded

Parameters

name

Name of the parent permission

value

The value to set this permission to


public void addParent(Permission perm, boolean value)

Adds this permission to the specified parent permission.

Parameters

perm

Parent permission to register with

value

The value to set this permission to