Class Group
java.lang.Object
me.lucko.luckperms.common.model.PermissionHolder
me.lucko.luckperms.common.model.Group
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateDisplayName(net.luckperms.api.query.QueryOptions queryOptions) booleanGets the holders cached datanet.kyori.adventure.text.ComponentGets the formatted display name of this permission holder (for use in commands, etc)getName()Gets a display name for this permission holder, without any formatting.net.luckperms.api.query.QueryOptionsGets the most appropriate query options available at the time for the holder.getType()Returns the type of this PermissionHolder.IntegerResult<net.luckperms.api.node.types.WeightNode> inthashCode()protected voidtoString()Methods inherited from class PermissionHolder
accumulateMeta, accumulateMeta, auditTemporaryNodes, clearNodes, exportPermissions, getData, getIdentifier, getInheritanceComparator, getOwnInheritanceNodes, getOwnNodes, getOwnNodes, getOwnNodesSorted, getPlugin, getWeight, hasNode, loadNodesFromStorage, mergeNodes, normalData, removeIf, resolveInheritanceTree, resolveInheritedNodes, resolveInheritedNodes, resolveInheritedNodesSorted, setNode, setNode, setNodes, setNodes, transientData, unsetNode, unsetNode
-
Constructor Details
-
Group
-
-
Method Details
-
invalidateCache
protected void invalidateCache()- Overrides:
invalidateCachein classPermissionHolder
-
getName
-
getApiProxy
-
getQueryOptions
public net.luckperms.api.query.QueryOptions getQueryOptions()Description copied from class:PermissionHolderGets the most appropriate query options available at the time for the holder.- Specified by:
getQueryOptionsin classPermissionHolder- Returns:
- query options
-
getCachedData
Description copied from class:PermissionHolderGets the holders cached data- Specified by:
getCachedDatain classPermissionHolder- Returns:
- the holders cached data
-
getFormattedDisplayName
public net.kyori.adventure.text.Component getFormattedDisplayName()Description copied from class:PermissionHolderGets the formatted display name of this permission holder (for use in commands, etc)- Specified by:
getFormattedDisplayNamein classPermissionHolder- Returns:
- the holders formatted display name
-
getPlainDisplayName
Description copied from class:PermissionHolderGets a display name for this permission holder, without any formatting.- Specified by:
getPlainDisplayNamein classPermissionHolder- Returns:
- the display name
-
getDisplayName
-
calculateDisplayName
-
getWeightResult
- Overrides:
getWeightResultin classPermissionHolder
-
getType
Description copied from class:PermissionHolderReturns the type of this PermissionHolder.- Specified by:
getTypein classPermissionHolder- Returns:
- this holders type
-
equals
-
hashCode
-
toString
-