java.lang.Object
me.lucko.luckperms.common.api.implementation.ApiPermissionHolder
me.lucko.luckperms.common.api.implementation.ApiGroup
All Implemented Interfaces:
net.luckperms.api.model.group.Group, net.luckperms.api.model.PermissionHolder

public class ApiGroup extends ApiPermissionHolder implements net.luckperms.api.model.group.Group
  • Constructor Details

    • ApiGroup

      public ApiGroup(Group handle)
  • Method Details

    • cast

      public static Group cast(net.luckperms.api.model.group.Group group)
    • getName

      public @NonNull String getName()
      Specified by:
      getName in interface net.luckperms.api.model.group.Group
    • getDisplayName

      public @Nullable String getDisplayName()
      Specified by:
      getDisplayName in interface net.luckperms.api.model.group.Group
    • getDisplayName

      public @Nullable String getDisplayName(@NonNull net.luckperms.api.query.QueryOptions queryOptions)
      Specified by:
      getDisplayName in interface net.luckperms.api.model.group.Group
    • getWeight

      public @NonNull OptionalInt getWeight()
      Specified by:
      getWeight in interface net.luckperms.api.model.group.Group
    • getCachedData

      public @NonNull GroupCachedDataManager getCachedData()
      Specified by:
      getCachedData in interface net.luckperms.api.model.PermissionHolder
      Overrides:
      getCachedData in class ApiPermissionHolder
    • onNodeChange

      protected void onNodeChange()
      Overrides:
      onNodeChange in class ApiPermissionHolder
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object