A B C D E F G H I K L M N O P R S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accumulateCurrentValues(CalculatedSubject, Consumer<String>) - Method in class ca.stellardrift.permissionsex.context.SimpleContextDefinition
- accumulateCurrentValues(CalculatedSubject, Consumer<T>) - Method in class ca.stellardrift.permissionsex.context.EnumContextDefinition
- accumulateCurrentValues(CalculatedSubject, Consumer<V>) - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
-
Given a player, calculate active context types
- activeContexts() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
- activeContexts() - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Gets the contexts with data set in this subject.
- activeSubjects() - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Get an unmodifiable view of the calculated subjects currently active in this data store.
- addListener(I, Consumer<ImmutableSubjectData>) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Add a listener to be notified on updates to the given subject
- addListener(String, Consumer<RankLadder>) - Method in interface ca.stellardrift.permissionsex.rank.RankLadderCollection
- all() - Static method in interface ca.stellardrift.permissionsex.datastore.DataStoreFactory
- all() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.SegmentsStage
- allIdentifiers() - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Get a set of subject identifiers for every subject registered of this type.
- allParents() - Method in interface ca.stellardrift.permissionsex.context.ContextInheritance
-
Get all parent data as a map from context to list of parent contexts.
- anyInPrefixMatching(String, IntPredicate) - Method in class ca.stellardrift.permissionsex.util.NodeTree
-
Return whether the node
prefixor any of its children match the predicatetest. - anySubject() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery
- anySubject() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.IdentifierStage
-
Act on any subject in this type
- asComponent() - Method in class ca.stellardrift.permissionsex.util.TranslatableProvider
- asMap() - Method in class ca.stellardrift.permissionsex.util.NodeTree
-
Convert this node tree into a map of the defined nodes in this tree.
- associatedObject() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get a native object associated with this subject.
- associatedObjects(Function<I, ?>) - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
-
Set a provider for associated objects.
- asyncExecutor() - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreContext
-
Access the engine's async executor that can be used to schedule tasks
B
- baseDirectory() - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreContext
-
Get the base data directory where the engine will store data and configuration.
- bTr(Object...) - Method in class ca.stellardrift.permissionsex.util.TranslatableProvider
-
Create a translatable component builder configured with the provided arguments.
- build() - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
-
Create a subject type from the provided parameters
- builder() - Static method in interface ca.stellardrift.permissionsex.datastore.ConversionResult
-
Create a new builder for a conversion result.
- builder(String, Class<V>) - Static method in class ca.stellardrift.permissionsex.subject.SubjectType
-
Create a new builder for subject types.
C
- ca.stellardrift.permissionsex - package ca.stellardrift.permissionsex
-
The PermissionsEx permissions engine.
- ca.stellardrift.permissionsex.context - package ca.stellardrift.permissionsex.context
- ca.stellardrift.permissionsex.datastore - package ca.stellardrift.permissionsex.datastore
- ca.stellardrift.permissionsex.exception - package ca.stellardrift.permissionsex.exception
- ca.stellardrift.permissionsex.logging - package ca.stellardrift.permissionsex.logging
- ca.stellardrift.permissionsex.query - package ca.stellardrift.permissionsex.query
- ca.stellardrift.permissionsex.rank - package ca.stellardrift.permissionsex.rank
- ca.stellardrift.permissionsex.subject - package ca.stellardrift.permissionsex.subject
- ca.stellardrift.permissionsex.util - package ca.stellardrift.permissionsex.util
- cacheAll() - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Enter all subjects of this type into cache
- cacheAll() - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Request that all subjects of this type be loaded into the cache.
- CalculatedSubject - Interface in ca.stellardrift.permissionsex.subject
- Change<T> - Interface in ca.stellardrift.permissionsex.util
-
Represents a change in the value of some object.
- changed() - Method in interface ca.stellardrift.permissionsex.util.Change
-
Get whether any change actually occurred.
- cleared() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Return a new segment with no data set.
- close() - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Free any resources this data store may be using.
- componentMessage() - Method in exception ca.stellardrift.permissionsex.exception.PermissionsException
- config() - Method in interface ca.stellardrift.permissionsex.datastore.ProtoDataStore
-
The object holding data store configuration.
- containingContext(ContextValue<?>) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.SegmentsStage
- containingType() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get the subject type holding this calculated subject.
- context(String, BiConsumer<CalculatedSubject, Consumer<String>>) - Static method in class ca.stellardrift.permissionsex.context.SimpleContextDefinition
-
Create a basic context definition with the provided key and accumulation function.
- contextDefinition(String) - Method in interface ca.stellardrift.permissionsex.context.ContextDefinitionProvider
- contextDefinition(String, boolean) - Method in interface ca.stellardrift.permissionsex.context.ContextDefinitionProvider
- ContextDefinition<V> - Class in ca.stellardrift.permissionsex.context
-
A specific type of context, for example
world,server-tag, oruntil. - ContextDefinition(String) - Constructor for class ca.stellardrift.permissionsex.context.ContextDefinition
- ContextDefinitionProvider - Interface in ca.stellardrift.permissionsex.context
-
A repository of context types.
- contextInheritance() - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Get the current context inheritance.
- contextInheritance(Consumer<ContextInheritance>) - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Get context inheritance data.
- contextInheritance(ContextInheritance) - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Update the context inheritance when values have been changed
- ContextInheritance - Interface in ca.stellardrift.permissionsex.context
-
Holder for information about inheritance between contexts.
- contextSet(ContextDefinition<?>) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.SegmentsStage
- ContextValue<V> - Class in ca.stellardrift.permissionsex.context
-
A (key, value) pair for one specific context entry.
- ContextValue(String, String) - Constructor for class ca.stellardrift.permissionsex.context.ContextValue
- ConversionResult - Interface in ca.stellardrift.permissionsex.datastore
-
A possible result of a conversion lookup.
- ConversionResult.Builder - Class in ca.stellardrift.permissionsex.datastore
-
Builder for a conversion result.
- create(String, ConfigurationNode) - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreFactory
-
Create a new proto data-store.
- createValue(V) - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
- current() - Method in interface ca.stellardrift.permissionsex.util.Change
-
The current value.
D
- data() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Access this subject's persistent data.
- data(I, Consumer<ImmutableSubjectData>) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Get data for a given subject.
- dataSourceForUrl(String) - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreContext
-
Deprecated.need to find a better place to put this
- DataStore - Interface in ca.stellardrift.permissionsex.datastore
-
Data type abstraction for permissions data.
- DataStoreContext - Interface in ca.stellardrift.permissionsex.datastore
-
Access to internals exposed for data store use only.
- DataStoreFactory<C> - Interface in ca.stellardrift.permissionsex.datastore
-
A factory to create a data store from its identifier and configuration options.
- DataStoreFactory.Convertable<C> - Interface in ca.stellardrift.permissionsex.datastore
-
A data store type that is used for migration from other permissions systems.
- debug(Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message at the DEBUG level.
- debug(Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log an exception (throwable) at the DEBUG level with an accompanying message.
- debug(Marker, Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message with the specific Marker at the DEBUG level.
- debug(Marker, Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
This method is similar to
FormattedLogger.debug(Component, Throwable)method except that the marker data is also taken into consideration. - debugMode() - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Get whether or not debug mode is enabled.
- debugMode(boolean) - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Set the active debug mode state.
- debugMode(boolean, Pattern) - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Set the active debug mode state, and a filter.
- definition() - Method in class ca.stellardrift.permissionsex.context.ContextValue
- defrost(DataStoreContext) - Method in interface ca.stellardrift.permissionsex.datastore.ProtoDataStore
-
Given a data store's properties, resolve a full data store.
- defrost(DataStoreContext, ProtoDataStore<C>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreFactory
-
Performs any loading necessary to resolve a full data store from its definition.
- demote(Set<ContextValue<?>>, ImmutableSubjectData) - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
Demote the given subject data on this rank ladder in the given context.
- description() - Method in interface ca.stellardrift.permissionsex.datastore.ConversionResult
-
A short description of the data that will be converted.
- deserialize(String) - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
-
Given a string (which may be in user format), return a parsed object.
- deserialize(String) - Method in class ca.stellardrift.permissionsex.context.EnumContextDefinition
- deserialize(String) - Method in class ca.stellardrift.permissionsex.context.SimpleContextDefinition
- deserializedBy(Function<String, I>) - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
-
Attempt to deserialize an identifier from the raw input
- deserializeSubjectRef(String, String) - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreContext
-
Deserialize a subject reference given a type and identifier.
- deserializeSubjectRef(Map.Entry<String, String>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreContext
-
Deserialize a subject reference given a type and identifier.
- doBulkOperation(Function<DataStore, CompletableFuture<V>>) - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Perform a low-level bulk operation.
E
- empty() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Return
trueif this segment has no set data. - engine() - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreContext
-
Get the permissions engine this context is attached to.
- EnumContextDefinition<T extends Enum<T>> - Class in ca.stellardrift.permissionsex.context
- EnumContextDefinition(String, Class<T>) - Constructor for class ca.stellardrift.permissionsex.context.EnumContextDefinition
- equals(Object) - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
- equals(Object) - Method in class ca.stellardrift.permissionsex.context.ContextValue
- equals(Object) - Method in class ca.stellardrift.permissionsex.subject.SubjectType
- error(Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message at the ERROR level.
- error(Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log an exception (throwable) at the ERROR level with an accompanying message.
- error(Marker, Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message with the specific Marker at the ERROR level.
- error(Marker, Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
This method is similar to
FormattedLogger.error(Component, Throwable)method except that the marker data is also taken into consideration.
F
- factory() - Method in interface ca.stellardrift.permissionsex.datastore.ProtoDataStore
-
Factory for the type of data store used.
- Fallback(String) - Constructor for class ca.stellardrift.permissionsex.context.SimpleContextDefinition.Fallback
- fallbackPermission() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Get the fallback permissions value for this segment.
- firstRun() - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Get whether or not this is this data store's first run.
- fixedEntries(Map.Entry<I, ? extends Supplier<?>>...) - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
-
Create a subject type with a fixed set of entries.
- fixedEntries(Map<I, ? extends Supplier<?>>) - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
-
Create a subject type with a fixed set of entries.
- FormattedLogger - Interface in ca.stellardrift.permissionsex.logging
- formatText(Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
- formatText(Component, Marker) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
- forType(String) - Static method in interface ca.stellardrift.permissionsex.datastore.DataStoreFactory
-
Get a factory for the type identifier.
- friendlyName() - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreFactory
-
A user-visible name for this data store type.
- friendlyNameResolvedBy(Function<String, I>) - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
-
Provide a function that can resolve a deserialized identifier from a 'friendly' name.
G
- get() - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef.ToData
-
Get the current subject data.
- get(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Get the calculated subject data for a given subject.
- get(String) - Method in class ca.stellardrift.permissionsex.util.NodeTree
-
Returns the value assigned to a specific node, or the nearest parent value in the tree if the node itself is undefined.
- get(String, Consumer<RankLadder>) - Method in interface ca.stellardrift.permissionsex.rank.RankLadderCollection
- getAll() - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Returns all subjects present in this data store
- getAll(SubjectType<I>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Get all data for subjects of the specified type.
- getAll(String) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Get all data for subjects of the specified type.
- getAllIdentifiers() - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Get a set of identifiers for all registered subjects of this type
- getAllIdentifiers(String) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Get all subject identifiers for subjects of the given type.
- getAllRankLadders() - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Get all rank ladders.
- getAssociatedObject(I) - Method in class ca.stellardrift.permissionsex.subject.SubjectType
-
The native object that may be held
- getContextInheritance(Consumer<ContextInheritance>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Get context inheritance information.
- getData(SubjectRef<?>, Consumer<ImmutableSubjectData>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Loads the data at the specified type and identifier.
- getData(String, String, Consumer<ImmutableSubjectData>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Loads the data at the specified type and identifier.
- getDefaultIdentifier() - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Get the identifier for the subject holding default data for subjects of this type
- getDefinedContextKeys() - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Enumerate all contexts defined within this data store
- getLocalizedMessage() - Method in exception ca.stellardrift.permissionsex.exception.PermissionsException
- getLocalizedMessage(Locale) - Method in exception ca.stellardrift.permissionsex.exception.PermissionsException
- getMessage() - Method in exception ca.stellardrift.permissionsex.exception.PermissionsException
- getParsedValue(ContextDefinition<V>) - Method in class ca.stellardrift.permissionsex.context.ContextValue
- getParsedValue(ContextDefinitionProvider) - Method in class ca.stellardrift.permissionsex.context.ContextValue
- getRankLadder(String, Consumer<RankLadder>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Get a specific rank ladder, with a possible update listener.
- getRegisteredTypes() - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Return all subject types that contain data
- GLOBAL_CONTEXT - Static variable in interface ca.stellardrift.permissionsex.context.ContextDefinitionProvider
H
- has(String) - Method in interface ca.stellardrift.permissionsex.rank.RankLadderCollection
- hasContext(ContextDefinition<?>) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.EitherStage
- hasContext(ContextValue<?>) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.EitherStage
- hashCode() - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
- hashCode() - Method in class ca.stellardrift.permissionsex.context.ContextValue
- hashCode() - Method in class ca.stellardrift.permissionsex.subject.SubjectType
- hasPermission(String) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.EitherStage
-
Has a permission that evaluates to true
- hasPermission(String) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Query whether this subject has a specific permission in this subject's active contexts This method takes into account context and wildcard inheritance calculations for any permission.
- hasPermission(Set<ContextValue<?>>, String) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Query whether this subject has a specific permission in the provided contexts This method takes into account context and wildcard inheritance calculations for any permission.
- hasPermissionSet(String) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.EitherStage
-
Has a permission that may or may not evaluate to true
- hasRankLadder(String) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Whether a rank ladder by the given name is present.
- holdsListenersStrongly() - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef.ToData
-
Get whether or not this reference will hold strong references to stored listeners.
I
- identifier() - Method in interface ca.stellardrift.permissionsex.datastore.ProtoDataStore
-
Identifier for a single data store instance.
- identifier() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get the identifier for this subject, as a map entry where the key is the identifier for this subject's type and the value is the specific identifier for this subject.
- identifier() - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef
-
An identifier.
- ImmutablesStyle - Annotation Type in ca.stellardrift.permissionsex.util
-
Supertype for compile-time generated data
- ImmutableSubjectData - Interface in ca.stellardrift.permissionsex.subject
-
The core subject data interface.
- indexOf(SubjectRef<?>) - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
Get the index of this rank in the current ladder.
- info(Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message at the INFO level.
- info(Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log an exception (throwable) at the INFO level with an accompanying message.
- info(Marker, Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message with the specific Marker at the INFO level.
- info(Marker, Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
This method is similar to
FormattedLogger.info(Component, Throwable)method except that the marker data is also taken into consideration. - inType(SubjectType<I>) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery
- invalidate(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Remove a given subject identifier from the cache
- InvalidIdentifierException - Exception in ca.stellardrift.permissionsex.subject
-
An exception thrown when an identifier is provided that isn't valid for a subject type.
- InvalidIdentifierException(String) - Constructor for exception ca.stellardrift.permissionsex.subject.InvalidIdentifierException
- isChildOf(SubjectRef<?>) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.EitherStage
- isIdentifierValid(String) - Method in class ca.stellardrift.permissionsex.subject.SubjectType
-
Check if a name is a valid identifier for a given subject collection
- isOnLadder(Set<ContextValue<?>>, ImmutableSubjectData) - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
Return if this subject is a member of any subjects that are part of this rank ladder within the given contexts.
- isRegistered() - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef.ToData
-
Confirm whether or not the subject data referenced is actually registered.
- isRegistered(SubjectRef<?>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Return if the given subject has any data stored in this store.
- isRegistered(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Check if a given subject is registered.
- isRegistered(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Query the backing data stores to see if a given subject is registered
- isRegistered(String, String) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Return if the given subject has any data stored in this store.
K
- key() - Method in class ca.stellardrift.permissionsex.context.ContextValue
-
Get the key used to resolve a context value.
- key() - Method in class ca.stellardrift.permissionsex.util.TranslatableProvider
-
The translation key used for lookup.
- knownLocales(Class<?>, String) - Static method in class ca.stellardrift.permissionsex.util.TranslatableProvider
-
Get known locales for a certain bundle name.
- knownSubjectTypes() - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Get all registered subject types
L
- ladders() - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Get a cache for rank ladders known by the engine.
- lazySubjectRef(String, String) - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreContext
-
Create a subject ref that will only be resolved once data is queried.
- listConversionOptions(PermissionsEngine) - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreFactory.Convertable
-
Return a list of all possible conversion options for this data store.
- load(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Load data (if any) known for the given identifier
- load(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Request that a subject of a given identifier is loaded into the cache.
- loaded() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.SegmentsStage
- loaded() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.SubjectStage
- loadedSubjectTypes() - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Get subject types with actively stored data.
- logger() - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreContext
-
A logger for logging any necessary messages.
- logLocale() - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Get the language that will be used for logging translatable messages.
- logLocale(Marker) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Get the language that will be used to log a specific
Marker.
M
- mapKeySafe(SubjectRef<I>) - Static method in interface ca.stellardrift.permissionsex.subject.SubjectRef
-
Return a sanitized subject reference that can safely be used as a map key.
- mapSegment(Set<ContextValue<?>>, Function<Segment, V>) - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Get a value derived from a single segment.
- mapSegmentValues(Function<Segment, V>) - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Return a map derived from all segments in this data, transformed by
mapper. - matches(ContextValue<V>, V) - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
-
Given a defined context and the active value (provided by
ContextDefinition.accumulateCurrentValues(CalculatedSubject, Consumer)), return whether the active value matches the defined value. - matches(String, String) - Method in class ca.stellardrift.permissionsex.context.SimpleContextDefinition
- matches(T, T) - Method in class ca.stellardrift.permissionsex.context.EnumContextDefinition
- matches(V, V) - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
- matchingAllOf() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.AllOrAnyState
- matchingAnyOf() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.AllOrAnyState
- mergeFrom(ImmutableSubjectData) - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Create a new subject data instance, applying all data from
other. - mergeFrom(Segment) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Add all data from the segment
otherto this one. - minusParent(SubjectRef<I>) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Remove a single parent subject in this segment.
- minusParent(SubjectType<I>, I) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Update a new segment to remove the passed parent.
- moveData(SubjectRef<?>, SubjectRef<?>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Move data from one subject to another
- moveData(String, String, String, String) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Move data from one subject to another
N
- name() - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
-
Gets the name for this context definition.
- name() - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Get the identifier that refers to this instance of the data store uniquely.
- name() - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreFactory
-
The name for the data store type, usable for lookup.
- name() - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
The name assigned to the rank-ladder.
- name() - Method in class ca.stellardrift.permissionsex.subject.SubjectType
-
The name of the subject type this defines.
- names() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.SubjectStage
- names() - Method in interface ca.stellardrift.permissionsex.rank.RankLadderCollection
- NodeTree - Class in ca.stellardrift.permissionsex.util
-
An immutable tree structure for determining node data.
O
- of(String, C, DataStoreFactory<C>) - Static method in interface ca.stellardrift.permissionsex.datastore.ProtoDataStore
- of(Map<String, Integer>) - Static method in class ca.stellardrift.permissionsex.util.NodeTree
-
Create a new node tree with the given values, and a default value of UNDEFINED.
- of(Map<String, Integer>, int) - Static method in class ca.stellardrift.permissionsex.util.NodeTree
-
Create a new node tree with the given values, and the specified root fallback value.
- of(T, T) - Static method in interface ca.stellardrift.permissionsex.util.Change
- old() - Method in interface ca.stellardrift.permissionsex.util.Change
-
The previous value before the operation.
- onOptionCheck(SubjectRef<?>, Set<ContextValue<?>>, String, String) - Method in interface ca.stellardrift.permissionsex.logging.PermissionCheckNotifier
- onParentCheck(SubjectRef<?>, Set<ContextValue<?>>, List<SubjectRef<?>>) - Method in interface ca.stellardrift.permissionsex.logging.PermissionCheckNotifier
- onPermissionCheck(SubjectRef<?>, Set<ContextValue<?>>, String, int) - Method in interface ca.stellardrift.permissionsex.logging.PermissionCheckNotifier
- onUpdate(Consumer<ImmutableSubjectData>) - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef.ToData
-
Register a listener to be called when an update is performed.
- option(String) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get an option that may be present for a certain subject in the subject's active contexts
- option(Set<ContextValue<?>>, String) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get an option that may be present for a certain subject
- optionNode(String) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get an option from this subject.
- optionNode(Set<ContextValue<?>>, String) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get an option from this subject.
- options() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get all options for this subject's active contexts.
- options() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Get options registered in a single context set.
- options(Set<ContextValue<?>>) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get all options for a certain set of contexts.
P
- parents() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get a list of all parents inheriting from this subject in the active contexts.
- parents() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Get parents in this segment
- parents(ContextValue<?>) - Method in interface ca.stellardrift.permissionsex.context.ContextInheritance
-
Get the parents of a specific context.
- parents(ContextValue<?>, List<ContextValue<?>>) - Method in interface ca.stellardrift.permissionsex.context.ContextInheritance
-
Set the parents for a specific context.
- parents(Set<ContextValue<?>>) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get a list of all parents inheriting from this subject.
- parsedValue() - Method in class ca.stellardrift.permissionsex.context.ContextValue
- parseIdentifier(String) - Method in class ca.stellardrift.permissionsex.subject.SubjectType
-
Parse an identifier given its serialized string representation.
- parseOrCoerceIdentifier(String) - Method in class ca.stellardrift.permissionsex.subject.SubjectType
-
Attempt to parse an identifier, while also attempting to resolve from any user-friendly display name that may be available.
- PEBKACException - Exception in ca.stellardrift.permissionsex.exception
-
This exception is thrown when an error occurs that is due to misconfiguration of the permissions system.
- PEBKACException(Component) - Constructor for exception ca.stellardrift.permissionsex.exception.PEBKACException
- performBulkOperation(Function<DataStore, T>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Perform a bulk operation on this data store.
- permission(String) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Query a specific permission in this subject's active contexts This method takes into account context and wildcard inheritance calculations for any permission.
- permission(Set<ContextValue<?>>, String) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Query a specific permission in a certain set of contexts.
- PERMISSION_UNDEFINED - Static variable in class ca.stellardrift.permissionsex.util.NodeTree
- PERMISSION_UNSET - Static variable in interface ca.stellardrift.permissionsex.subject.Segment
- PermissionCheckNotifier - Interface in ca.stellardrift.permissionsex.logging
-
Delegate to handle notifying of permission and option checks.
- permissions() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get the permissions tree in this subject's active contexts.
- permissions() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Get permissions data for a single context in this subject.
- permissions(Set<ContextValue<?>>) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Get the permissions tree for a certain set of contexts.
- PermissionsEngine - Interface in ca.stellardrift.permissionsex
-
A PermissionsEx engine.
- PermissionsException - Exception in ca.stellardrift.permissionsex.exception
-
An exception where PermissionsEx is involved.
- PermissionsException(Component) - Constructor for exception ca.stellardrift.permissionsex.exception.PermissionsException
- PermissionsException(Component, Throwable) - Constructor for exception ca.stellardrift.permissionsex.exception.PermissionsException
- PermissionsLoadingException - Exception in ca.stellardrift.permissionsex.exception
- PermissionsLoadingException(Throwable) - Constructor for exception ca.stellardrift.permissionsex.exception.PermissionsLoadingException
- PermissionsLoadingException(Component) - Constructor for exception ca.stellardrift.permissionsex.exception.PermissionsLoadingException
- PermissionsLoadingException(Component, Throwable) - Constructor for exception ca.stellardrift.permissionsex.exception.PermissionsLoadingException
- PermissionsQuery - Interface in ca.stellardrift.permissionsex.query
-
A query for permissions data.
- PermissionsQuery.AllOrAnyState - Interface in ca.stellardrift.permissionsex.query
- PermissionsQuery.EitherStage - Interface in ca.stellardrift.permissionsex.query
- PermissionsQuery.IdentifierStage<I> - Interface in ca.stellardrift.permissionsex.query
-
Specifies an identifier for a specific subject type
- PermissionsQuery.SegmentsStage - Interface in ca.stellardrift.permissionsex.query
- PermissionsQuery.SubjectStage - Interface in ca.stellardrift.permissionsex.query
- persistentData() - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Access the persistent data for subjects of this type
- plusParent(SubjectRef<I>) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Update a new segment with an added parent.
- plusParent(SubjectType<I>, I) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Update a segment with an added parent.
- prefix() - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
- prefix(String) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
- promote(Set<ContextValue<?>>, ImmutableSubjectData) - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
Promote the given subject data on this rank ladder in the given context.
- ProtoDataStore<C> - Interface in ca.stellardrift.permissionsex.datastore
-
The deserialized configuration options from a data store.
R
- RankLadder - Interface in ca.stellardrift.permissionsex.rank
-
Represents a track of ranks along which a user can be promoted or demoted.
- RankLadderCollection - Interface in ca.stellardrift.permissionsex.rank
- ranks() - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
Provides a way to iterate through ranks currently active in this ladder.
- rawValue() - Method in class ca.stellardrift.permissionsex.context.ContextValue
-
The raw value, before being deserialized by a context definition.
- referenceTo(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Get a reference to subject data for a given subject.
- referenceTo(I, boolean) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Get a reference to subject data for a given subject
- registerAllTranslations(String, Stream<Locale>, ClassLoader) - Static method in class ca.stellardrift.permissionsex.util.TranslatableProvider
- registerContextDefinition(ContextDefinition<T>) - Method in interface ca.stellardrift.permissionsex.context.ContextDefinitionProvider
-
Register a new context type that can be queried.
- registerContextDefinitions(ContextDefinition<?>...) - Method in interface ca.stellardrift.permissionsex.context.ContextDefinitionProvider
-
Register multiple context definitions.
- registeredContextTypes() - Method in interface ca.stellardrift.permissionsex.context.ContextDefinitionProvider
-
Get an immutable copy as a list of the registered context types
- registerListener(Consumer<CalculatedSubject>) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Register a listener that will receive updates to this subject.
- remove() - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef.ToData
-
Remove the subject data referenced.
- remove(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Remove a subject from the backing data store
S
- segment(Set<ContextValue<?>>) - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Get a segment at the specified coordinates.
- Segment - Interface in ca.stellardrift.permissionsex.subject
-
Subject data set for a specific configuration of properties.
- segments() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.EitherStage
- segments() - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Get all non-empty segments associated with this subject.
- serialize(String) - Method in class ca.stellardrift.permissionsex.context.SimpleContextDefinition
- serialize(ConfigurationNode) - Method in interface ca.stellardrift.permissionsex.datastore.ProtoDataStore
- serialize(ConfigurationNode, ProtoDataStore<C>) - Method in interface ca.stellardrift.permissionsex.datastore.DataStoreFactory
-
Write the configuration defined by the proto-store to a node.
- serialize(T) - Method in class ca.stellardrift.permissionsex.context.EnumContextDefinition
- serialize(V) - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
-
Given a parsed value, write data out as a string.
- serializedBy(Function<I, String>) - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
- serializedIdentifier() - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef
-
Compute the serialized form of the identifier.
- serializeIdentifier(I) - Method in class ca.stellardrift.permissionsex.subject.SubjectType
-
Serialize an identifier to its canonical represenattion.
- serializer() - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
- set(I, ImmutableSubjectData) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Set the data for
identifier. - set(String, RankLadder) - Method in interface ca.stellardrift.permissionsex.rank.RankLadderCollection
- setContextInheritance(ContextInheritance) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Uppdate the stored context inheritance information.
- setData(SubjectRef<?>, ImmutableSubjectData) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Sets the data at the specified type and identifier.
- setData(String, String, ImmutableSubjectData) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Sets the data at the specified type and identifier.
- setRankLadder(String, RankLadder) - Method in interface ca.stellardrift.permissionsex.datastore.DataStore
-
Set the rank ladder at the given identifier.
- SimpleContextDefinition - Class in ca.stellardrift.permissionsex.context
-
Context definition for types that have no complex data.
- SimpleContextDefinition(String) - Constructor for class ca.stellardrift.permissionsex.context.SimpleContextDefinition
- SimpleContextDefinition.Fallback - Class in ca.stellardrift.permissionsex.context
- store() - Method in interface ca.stellardrift.permissionsex.datastore.ConversionResult
-
The data store, configured based on the discovered environment but not yet initialized.
- stringIdentBuilder(String) - Static method in class ca.stellardrift.permissionsex.subject.SubjectType
-
Create a new builder for subject types using a string identifier.
- subject(SubjectRef<?>) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery
- subject(SubjectRef<I>) - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Resolve a subject from a reference.
- subject(SubjectType<I>, I) - Static method in interface ca.stellardrift.permissionsex.subject.SubjectRef
-
Create a new subject reference.
- subject(SubjectTypeCollection<I>, I) - Static method in interface ca.stellardrift.permissionsex.subject.SubjectRef
-
Create a new subject reference.
- SubjectDataCache<I> - Interface in ca.stellardrift.permissionsex.subject
-
A cached view of the subject data within a particular
DataStore. - SubjectRef<I> - Interface in ca.stellardrift.permissionsex.subject
-
A reference to a specific subject.
- SubjectRef.ToData<I> - Interface in ca.stellardrift.permissionsex.subject
-
A resolved reference to a subject's data in a specific collection.
- subjects() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.EitherStage
- subjects() - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.SubjectStage
- subjects(SubjectType<I>) - Method in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Get a subject type by name.
- SUBJECTS_DEFAULTS - Static variable in interface ca.stellardrift.permissionsex.PermissionsEngine
-
A subject type where subjects are
- SUBJECTS_FALLBACK - Static variable in interface ca.stellardrift.permissionsex.PermissionsEngine
- SUBJECTS_GROUP - Static variable in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Deprecated.
- SUBJECTS_USER - Static variable in interface ca.stellardrift.permissionsex.PermissionsEngine
-
Deprecated.
- SubjectType<I> - Class in ca.stellardrift.permissionsex.subject
-
A definition for parameters controlling a
SubjectTypeCollection's handling. - SubjectType.Builder<I> - Class in ca.stellardrift.permissionsex.subject
-
A builder for a subject type
- SubjectTypeCollection<I> - Interface in ca.stellardrift.permissionsex.subject
-
Collection providing a view of subjects of a given type within the PEX engine.
- suggestValues(CalculatedSubject) - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
-
Given a subject, suggest a set of values that may be valid for this context.
- suggestValues(CalculatedSubject) - Method in class ca.stellardrift.permissionsex.context.EnumContextDefinition
T
- toString() - Method in class ca.stellardrift.permissionsex.context.ContextDefinition
- toString() - Method in class ca.stellardrift.permissionsex.context.ContextValue
- toString() - Method in class ca.stellardrift.permissionsex.subject.SubjectType
- toString() - Method in class ca.stellardrift.permissionsex.util.NodeTree
- tr(Object...) - Method in class ca.stellardrift.permissionsex.util.TranslatableProvider
-
Create a translatable component with the provided arguments.
- trace(Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message at the TRACE level.
- trace(Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log an exception (throwable) at the TRACE level with an accompanying message.
- trace(Marker, Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message with the specific Marker at the TRACE level.
- trace(Marker, Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
This method is similar to
FormattedLogger.trace(Component, Throwable)method except that the marker data is also taken into consideration. - transientData() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
-
Access this subject's transient data.
- transientData() - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Access the transient data for subjects of this type.
- transientHasPriority() - Method in class ca.stellardrift.permissionsex.subject.SubjectType
-
Return whether or not transient data takes priority over persistent for this subject type.
- transientHasPriority(boolean) - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
-
Whether or not this subject resolves data transient-first or persistent first.
- TranslatableProvider - Class in ca.stellardrift.permissionsex.util
-
A typesafe provider for translatable messages.
- TranslatableProvider(String, String) - Constructor for class ca.stellardrift.permissionsex.util.TranslatableProvider
-
Create a new translatable provider
- tryResolve(ContextDefinitionProvider) - Method in class ca.stellardrift.permissionsex.context.ContextValue
- type() - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Get the subject type for this cache.
- type() - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef
-
The subject's type.
- type() - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Set information configuring resolution for this subject type.
- TYPE - Static variable in interface ca.stellardrift.permissionsex.subject.SubjectRef
U
- uncache(I) - Method in interface ca.stellardrift.permissionsex.subject.SubjectTypeCollection
-
Request that a given identifier be removed from the cached data stores.
- undefinedPermissionValue(I) - Method in class ca.stellardrift.permissionsex.subject.SubjectType
-
The boolean value an undefined permission should have for this subject type
- undefinedValues(Function<I, Boolean>) - Method in class ca.stellardrift.permissionsex.subject.SubjectType.Builder
-
Set the provider for a fallback permissions value when an undefined value (
0) is resolved. - unparsedIdentifier() - Method in exception ca.stellardrift.permissionsex.subject.InvalidIdentifierException
-
Get the provided input that was supposed to be parsed.
- unregisterListener(Consumer<CalculatedSubject>) - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
- update(I, UnaryOperator<ImmutableSubjectData>) - Method in interface ca.stellardrift.permissionsex.subject.SubjectDataCache
-
Update data for a given subject, acting on the latest data available.
- update(String, UnaryOperator<RankLadder>) - Method in interface ca.stellardrift.permissionsex.rank.RankLadderCollection
- update(BiFunction<Set<ContextValue<?>>, Segment, Segment>) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.SegmentsStage
- update(UnaryOperator<ImmutableSubjectData>) - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef.ToData
-
Update the contained data based on the result of a function.
- update(Set<ContextValue<?>>, UnaryOperator<Segment>) - Method in interface ca.stellardrift.permissionsex.subject.SubjectRef.ToData
-
Update a single segment of the contained data based on the provided operator.
- usedContextTypes() - Method in interface ca.stellardrift.permissionsex.context.ContextDefinitionProvider
- usedContextValues() - Method in interface ca.stellardrift.permissionsex.subject.CalculatedSubject
W
- warn(Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message at the WARN level.
- warn(Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log an exception (throwable) at the WARN level with an accompanying message.
- warn(Marker, Component) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
Log a message with the specific Marker at the WARN level.
- warn(Marker, Component, Throwable) - Method in interface ca.stellardrift.permissionsex.logging.FormattedLogger
-
This method is similar to
FormattedLogger.warn(Component, Throwable)method except that the marker data is also taken into consideration. - with(SubjectRef<?>) - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
Return a new rank ladder with the specified rank added at the highest point in the ladder.
- with(SubjectRef<?>, int) - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
Return a new rank ladder with the specified rank added at a given point in the rank ladder.
- withAll(Map<String, Integer>) - Method in class ca.stellardrift.permissionsex.util.NodeTree
-
Return a modified new node tree with the specified values set.
- withFallbackPermission(int) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Update a new segment with a new fallback permission.
- withName(I) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.IdentifierStage
- withOption(String, String) - Method in interface ca.stellardrift.permissionsex.query.PermissionsQuery.EitherStage
- withOption(String, String) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Return a new segment with updated option information.
- withOptions(Map<String, String>) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Return a new segment with an entirely new set of options
- without(SubjectRef<?>) - Method in interface ca.stellardrift.permissionsex.rank.RankLadder
-
Remove the given rank from this rank ladder.
- withoutOption(String) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Return a new segment with an option removed, if it is present
- withoutOptions() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Return a new segment with all options unset.
- withoutParents() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Remove all parents from this segment.
- withoutPermissions() - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Return a new segment with all permissions unset.
- withParents(List<SubjectRef<?>>) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Update a new segment with the provided
parents. - withPermission(String, int) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Set a single permission to a specific value.
- withPermissions(Map<String, Integer>) - Method in interface ca.stellardrift.permissionsex.subject.Segment
-
Set all permissions.
- withSegment(Set<ContextValue<?>>, Segment) - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Make an updated subject data with the segment applied at the specified context set.
- withSegment(Set<ContextValue<?>>, UnaryOperator<Segment>) - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Apply a transformation to the segment at the provided contexts.
- withSegments(BiFunction<Set<ContextValue<?>>, Segment, Segment>) - Method in interface ca.stellardrift.permissionsex.subject.ImmutableSubjectData
-
Apply a transformation to every segment contained in this subject.
- withValue(String, int) - Method in class ca.stellardrift.permissionsex.util.NodeTree
-
Return a new NodeTree instance with a single changed value.
All Classes All Packages