| Package | Description |
|---|---|
| me.lucko.luckperms.api | |
| me.lucko.luckperms.api.context |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSetMultimap<ImmutableContextSet,Node> |
PermissionHolder.getNodes()
Gets the backing multimap containing every permission this holder has.
|
ImmutableSetMultimap<ImmutableContextSet,Node> |
PermissionHolder.getTransientNodes()
Gets the backing multimap containing every transient permission this holder has.
|
| Constructor and Description |
|---|
Contexts(ImmutableContextSet contextSet,
ImmutableSet<LookupSetting> settings) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableContextSet |
ImmutableContextSet.Builder.build()
Creates a
ImmutableContextSet from the values previously
added to the builder. |
static ImmutableContextSet |
ImmutableContextSet.empty()
Returns an empty
ImmutableContextSet. |
static ImmutableContextSet |
ContextSet.empty()
Returns an empty
ImmutableContextSet. |
static ImmutableContextSet |
ImmutableContextSet.fromEntries(Iterable<? extends Map.Entry<String,String>> iterable)
|
static ImmutableContextSet |
ContextSet.fromEntries(Iterable<? extends Map.Entry<String,String>> iterable)
|
static ImmutableContextSet |
ImmutableContextSet.fromMap(Map<String,String> map)
Creates an
ImmutableContextSet from an existing Map. |
static ImmutableContextSet |
ContextSet.fromMap(Map<String,String> map)
Creates an
ImmutableContextSet from an existing Map. |
static ImmutableContextSet |
ImmutableContextSet.fromMultimap(Multimap<String,String> multimap)
Creates an
ImmutableContextSet from an existing Multimap. |
static ImmutableContextSet |
ContextSet.fromMultimap(Multimap<String,String> multimap)
Creates an
ImmutableContextSet from an existing Multimap. |
static ImmutableContextSet |
ImmutableContextSet.fromSet(ContextSet contextSet)
Creates an new
ImmutableContextSet from an existing Set. |
static ImmutableContextSet |
ContextSet.fromSet(ContextSet contextSet)
Creates an new
ImmutableContextSet from an existing Set. |
ImmutableContextSet |
ContextManager.getApplicableContext(Object subject)
Queries the ContextManager for current context values for the subject.
|
ImmutableContextSet |
ContextManager.getStaticContext()
Gets the contexts from the static calculators in this manager.
|
ImmutableContextSet |
MutableContextSet.makeImmutable() |
ImmutableContextSet |
ImmutableContextSet.makeImmutable()
Deprecated.
|
ImmutableContextSet |
ContextSet.makeImmutable()
Returns an immutable representation of this
ContextSet. |
static ImmutableContextSet |
ImmutableContextSet.of(String key1,
String value1,
String key2,
String value2)
Creates an
ImmutableContextSet from two context pairs. |
static ImmutableContextSet |
ContextSet.of(String key1,
String value1,
String key2,
String value2)
Creates an
ImmutableContextSet from two context pairs. |
static ImmutableContextSet |
ImmutableContextSet.singleton(String key,
String value)
Creates an
ImmutableContextSet from a context pair. |
static ImmutableContextSet |
ContextSet.singleton(String key,
String value)
Creates an
ImmutableContextSet from a context pair. |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableContextSet> |
ContextManager.lookupApplicableContext(User user)
Queries the ContextManager for current context values for the given User.
|
| Modifier and Type | Method and Description |
|---|---|
Contexts |
ContextManager.formContexts(ImmutableContextSet contextSet)
Forms a
Contexts instance from an ImmutableContextSet. |
Contexts |
ContextManager.formContexts(Object subject,
ImmutableContextSet contextSet)
Forms a
Contexts instance from an ImmutableContextSet. |
Copyright © 2018. All rights reserved.