Uses of Enum
privbot.api.Capability
Packages that use Capability
Package
Description
The PrivBot plugin API boundary: what is supported, and which version of it a runtime provides.
-
Uses of Capability in privbot.api
Subclasses with type arguments of type Capability in privbot.apiModifier and TypeClassDescriptionenumOne thing a plugin can ask the unified API to read or do.Methods in privbot.api that return CapabilityModifier and TypeMethodDescriptionstatic CapabilityReturns the enum constant of this type with the specified name.static Capability[]Capability.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in privbot.api with parameters of type CapabilityModifier and TypeMethodDescriptionCapabilities.note(Capability capability) What a plugin author needs to know about this capability here: which cases work for a partial one, why an unsupported one fails, or that nothing is known.Capabilities.support(Capability capability) The recorded support level;Support.UNKNOWNwhen nothing is recorded.default booleanCapabilities.supports(Capability capability)