Uses of Class
com.ultikits.ultitools.manager.TriggerContext
Packages that use TriggerContext
Package
Description
New command handling framework with improved architecture.
Framework-internal logging bridge.
-
Uses of TriggerContext in com.ultikits.ultitools.abstracts.command
Methods in com.ultikits.ultitools.abstracts.command with parameters of type TriggerContextModifier and TypeMethodDescriptionprivate voidBaseCommandExecutor.invokeCommandBody(CommandContext context, Method method, Object[] params, List<CommandValidator> ranValidators, TriggerContext triggerCtx, AtomicBoolean reported) Runs the matched command method plus its surrounding bookkeeping (audit-user context, post-action validator hooks, error reporting, the WIRE-12 completion flag) -- the body of theBukkitRunnableBaseCommandExecutor.executeCommand(com.ultikits.ultitools.abstracts.command.CommandContext, java.lang.reflect.Method, java.lang.Object[], com.ultikits.ultitools.abstracts.command.validation.ValidatorChain.ChainValidationResult)schedules.private voidBaseCommandExecutor.reportCommandExecutionError(CommandContext context, Method method, Exception e, TriggerContext triggerCtx) Sends the user-facing failure message, logs the exception, and best-effort reports it toErrorReportCollectorfor a command method that threw. -
Uses of TriggerContext in com.ultikits.ultitools.handler
Methods in com.ultikits.ultitools.handler that return TriggerContextModifier and TypeMethodDescriptionprivate TriggerContextSystemLogHandler.inferTriggerFromStackTrace(Throwable throwable) Infer trigger context from exception stack trace. -
Uses of TriggerContext in com.ultikits.ultitools.manager
Methods in com.ultikits.ultitools.manager that return TriggerContextModifier and TypeMethodDescriptionstatic TriggerContextCreate context for an AOP interceptor trigger.static TriggerContextCreate context for a command trigger.static TriggerContextCreate context for an event trigger.static TriggerContextCreate context for a scheduled task trigger.static TriggerContextCreate context for an uncaught exception.Methods in com.ultikits.ultitools.manager with parameters of type TriggerContextModifier and TypeMethodDescriptionprivate ErrorReportCollector.ErrorReportErrorReportCollector.createReport(Throwable throwable, String fingerprint, String moduleName, TriggerContext ctx) Create an ErrorReport from a throwable.voidErrorReportCollector.reportError(Throwable throwable, String moduleName, TriggerContext ctx) Report an error.