@PublicApi
public interface CapabilityContext
Modifier and Type | Method and Description |
---|---|
void |
clearCapabilitySet()
Removes whatever is currently stored in thread local
|
@Nullable ReadOnlyCapabilitySet |
getCapabilitySet()
Retrieves the capability set currently stored within the context,
If empty the shared local (server) capabilities are returned
|
@Nullable String |
getCapabilityValue(@NotNull String key)
Convenience method.
|
void |
setCapabilitySet(@Nullable ReadOnlyCapabilitySet capabilitySet)
Stores a specific capability set within the ThreadLocal
|
@Nullable @Nullable ReadOnlyCapabilitySet getCapabilitySet()
void setCapabilitySet(@Nullable @Nullable ReadOnlyCapabilitySet capabilitySet)
capabilitySet
- void clearCapabilitySet()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.