Class MemoryContextInheritance
- java.lang.Object
-
- ca.stellardrift.permissionsex.impl.backend.memory.MemoryContextInheritance
-
- All Implemented Interfaces:
ca.stellardrift.permissionsex.context.ContextInheritance
@ConfigSerializable public class MemoryContextInheritance extends Object implements ca.stellardrift.permissionsex.context.ContextInheritance
Context inheritance data structure
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMemoryContextInheritance()protectedMemoryContextInheritance(Map<String,List<String>> data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<ca.stellardrift.permissionsex.context.ContextValue<?>,List<ca.stellardrift.permissionsex.context.ContextValue<?>>>allParents()static ca.stellardrift.permissionsex.context.ContextValue<?>ctxFromString(String input)static StringctxToString(ca.stellardrift.permissionsex.context.ContextValue<?> input)static MemoryContextInheritancefromExistingContextInheritance(ca.stellardrift.permissionsex.context.ContextInheritance inheritance)protected MemoryContextInheritancenewCopy(Map<String,List<String>> raw)List<ca.stellardrift.permissionsex.context.ContextValue<?>>parents(ca.stellardrift.permissionsex.context.ContextValue<?> context)ca.stellardrift.permissionsex.context.ContextInheritanceparents(ca.stellardrift.permissionsex.context.ContextValue<?> context, List<ca.stellardrift.permissionsex.context.ContextValue<?>> parents)
-
-
-
Constructor Detail
-
MemoryContextInheritance
protected MemoryContextInheritance()
-
MemoryContextInheritance
protected MemoryContextInheritance(Map<String,List<String>> data)
-
-
Method Detail
-
parents
public List<ca.stellardrift.permissionsex.context.ContextValue<?>> parents(ca.stellardrift.permissionsex.context.ContextValue<?> context)
- Specified by:
parentsin interfaceca.stellardrift.permissionsex.context.ContextInheritance
-
parents
public ca.stellardrift.permissionsex.context.ContextInheritance parents(ca.stellardrift.permissionsex.context.ContextValue<?> context, List<ca.stellardrift.permissionsex.context.ContextValue<?>> parents)
- Specified by:
parentsin interfaceca.stellardrift.permissionsex.context.ContextInheritance
-
allParents
public Map<ca.stellardrift.permissionsex.context.ContextValue<?>,List<ca.stellardrift.permissionsex.context.ContextValue<?>>> allParents()
- Specified by:
allParentsin interfaceca.stellardrift.permissionsex.context.ContextInheritance
-
fromExistingContextInheritance
public static MemoryContextInheritance fromExistingContextInheritance(ca.stellardrift.permissionsex.context.ContextInheritance inheritance)
-
ctxFromString
public static ca.stellardrift.permissionsex.context.ContextValue<?> ctxFromString(String input)
-
ctxToString
public static String ctxToString(ca.stellardrift.permissionsex.context.ContextValue<?> input)
-
-