Interface PermissionHolder


public interface PermissionHolder
Permission target identity for holder-based add/remove/has operations.

Obtain from User#asHolder(), Group#asHolder(), or related entity adapters.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the stable holder identifier.
    Returns the kind of entity this holder represents.
  • Method Details

    • getId

      UUID getId()
      Returns the stable holder identifier.

      For users this is typically the UUID; for groups/worlds/ladders the configured name key.

      Returns:
      holder identifier
    • getType

      HolderType getType()
      Returns the kind of entity this holder represents.
      Returns:
      holder type