Uses of Enum Class
com.ultikits.ultitools.entities.Capability
Packages that use Capability
Package
Description
-
Uses of Capability in com.ultikits.ultitools.entities
Methods in com.ultikits.ultitools.entities that return CapabilityModifier and TypeMethodDescriptionstatic CapabilityReturns the enum constant of this class with the specified name.static Capability[]Capability.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Capability in com.ultikits.ultitools.manager
Methods in com.ultikits.ultitools.manager with parameters of type CapabilityModifier and TypeMethodDescriptionstatic RemoteActionLog.EntryRemoteActionLog.Entry.allowed(Capability capability, String action, String target, String actor) Builds anRemoteActionLog.Verdict.ALLOWEDentry.static RemoteActionLog.EntryRemoteActionLog.Entry.denied(Capability capability, String action, String target, String actor, String reason) Builds aRemoteActionLog.Verdict.DENIEDentry. -
Uses of Capability in com.ultikits.ultitools.utils
Fields in com.ultikits.ultitools.utils declared as CapabilityModifier and TypeFieldDescriptionprivate final CapabilityPluginInitiationUtils.InboundHandlerEntry.capabilityFields in com.ultikits.ultitools.utils with type parameters of type CapabilityModifier and TypeFieldDescriptionprivate final Function<com.google.gson.JsonObject, Capability> PluginInitiationUtils.InboundHandlerEntry.resolverMethods in com.ultikits.ultitools.utils that return CapabilityModifier and TypeMethodDescription(package private) CapabilityPluginInitiationUtils.InboundHandlerEntry.resolveCapability(com.google.gson.JsonObject data) Resolves this entry's required capability against one message'sdata.private static CapabilityPluginInitiationUtils.resolveFileOperationCapability(com.google.gson.JsonObject data) Resolvesfile_operation's required capability from the message'soperationfield (D-09, D-10's Pitfall 4).static CapabilityPluginInitiationUtils.resolveFileOperationCapability(String operation) The singleoperationname toCapabilitymapping, shared between this class's D-10 dispatch-table resolver above andFileOperationManager's own action-log recording (D-22, Plan 06-04 Task 1) — so the two mappings cannot drift apart.private static CapabilityPluginInitiationUtils.resolveUploadConfigCapability(com.google.gson.JsonObject data) Resolvesupload_config's required capability from the message's own shape (Gate-2 finding, round 11) --upload_configcarries traffic in BOTH directions on the same type (seePluginInitiationUtils.handleConfigUpload(com.google.gson.JsonObject)'s own javadoc):PluginInitiationUtils.uploadConfig(com.ultikits.ultitools.websocket.UltiPanelWebSocketClient)sends the server's own aggregated config UP on every reconnect, and the Worker's genericresponse.type = message.typeecho sends the acknowledgement of that push back down this SAME inbound type.Methods in com.ultikits.ultitools.utils with parameters of type CapabilityModifier and TypeMethodDescription(package private) static voidPluginInitiationUtils.logSkippedCapability(Capability capability) Logs one INFO entry for a skipped outbound capability, naming which capability and which config key caused the skip.(package private) static PluginInitiationUtils.InboundHandlerEntryPluginInitiationUtils.InboundHandlerEntry.of(Capability capability, PluginInitiationUtils.VerdictRecorder verdictRecorder, BiConsumer<com.google.gson.JsonObject, com.google.gson.JsonObject> handler) An entry whose capability is a fixed constant.private static voidPluginInitiationUtils.recordAction(Capability capability, String type, com.google.gson.JsonObject data, RemoteActionLog.Verdict verdict, String reason) Records one action-log entry for a capability-gated inbound message.private static voidPluginInitiationUtils.sendCapabilityRefusal(String type, com.google.gson.JsonObject data, Capability capability) Sends onecapability_deniedoutbound message naming the config key, the config file, the refusal reason, and echoing whichever correlation id the inbound message carried (commandId,operationIdorrequestId) so the panel can correlate the refusal with the request that caused it.Method parameters in com.ultikits.ultitools.utils with type arguments of type CapabilityModifier and TypeMethodDescription(package private) static PluginInitiationUtils.InboundHandlerEntryPluginInitiationUtils.InboundHandlerEntry.resolved(Function<com.google.gson.JsonObject, Capability> resolver, PluginInitiationUtils.VerdictRecorder verdictRecorder, BiConsumer<com.google.gson.JsonObject, com.google.gson.JsonObject> handler) An entry whose capability depends on the inbound message's owndata— thefile_operationcase, whose true capability depends on theoperationfield (D-10's resolver case, D-09).Constructors in com.ultikits.ultitools.utils with parameters of type CapabilityModifierConstructorDescriptionprivateInboundHandlerEntry(Capability capability, Function<com.google.gson.JsonObject, Capability> resolver, PluginInitiationUtils.VerdictRecorder verdictRecorder, BiConsumer<com.google.gson.JsonObject, com.google.gson.JsonObject> handler) Constructor parameters in com.ultikits.ultitools.utils with type arguments of type CapabilityModifierConstructorDescriptionprivateInboundHandlerEntry(Capability capability, Function<com.google.gson.JsonObject, Capability> resolver, PluginInitiationUtils.VerdictRecorder verdictRecorder, BiConsumer<com.google.gson.JsonObject, com.google.gson.JsonObject> handler)