@Internal public class StaticCommandFlagsRegistry extends java.lang.Object implements CommandFlagsRegistry
| Modifier and Type | Class and Description |
|---|---|
static class |
StaticCommandFlagsRegistry.Builder
Builder for constructing StaticCommandFlagsRegistry instances.
|
CommandFlagsRegistry.CommandFlag, CommandFlagsRegistry.RequestPolicy, CommandFlagsRegistry.ResponsePolicy| Modifier and Type | Field and Description |
|---|---|
static CommandFlagsRegistry.RequestPolicy |
DEFAULT_REQUEST_POLICY |
static CommandFlagsRegistry.ResponsePolicy |
DEFAULT_RESPONSE_POLICY |
static java.util.EnumSet<CommandFlagsRegistry.CommandFlag> |
EMPTY_FLAGS |
| Modifier and Type | Method and Description |
|---|---|
java.util.EnumSet<CommandFlagsRegistry.CommandFlag> |
getFlags(CommandArguments commandArguments)
Get the flags for a given command.
|
CommandFlagsRegistry.RequestPolicy |
getRequestPolicy(CommandArguments commandArguments)
Get the request policy for a given command.
|
CommandFlagsRegistry.ResponsePolicy |
getResponsePolicy(CommandArguments commandArguments)
Get the response policy for a given command.
|
static StaticCommandFlagsRegistry |
registry()
Get the singleton instance of the static command flags registry.
|
public static final java.util.EnumSet<CommandFlagsRegistry.CommandFlag> EMPTY_FLAGS
public static final CommandFlagsRegistry.RequestPolicy DEFAULT_REQUEST_POLICY
public static final CommandFlagsRegistry.ResponsePolicy DEFAULT_RESPONSE_POLICY
public static StaticCommandFlagsRegistry registry()
DO NOT USE THIS METHOD UNLESS YOU KNOW WHAT YOU ARE DOING.
public java.util.EnumSet<CommandFlagsRegistry.CommandFlag> getFlags(CommandArguments commandArguments)
Uses the same hierarchical lookup strategy as lookupCommandMeta(CommandArguments).
getFlags in interface CommandFlagsRegistrycommandArguments - the command arguments containing the command and its parameterspublic CommandFlagsRegistry.RequestPolicy getRequestPolicy(CommandArguments commandArguments)
Uses the same hierarchical lookup strategy as getFlags(CommandArguments).
getRequestPolicy in interface CommandFlagsRegistrycommandArguments - the command arguments containing the command and its parameterspublic CommandFlagsRegistry.ResponsePolicy getResponsePolicy(CommandArguments commandArguments)
Uses the same hierarchical lookup strategy as getFlags(CommandArguments).
getResponsePolicy in interface CommandFlagsRegistrycommandArguments - the command arguments containing the command and its parametersCopyright © 2026. All rights reserved.