Uses of Enum Class
dev.ua.theroer.magicutils.commands.CompareMode
Packages that use CompareMode
-
Uses of CompareMode in dev.ua.theroer.magicutils.commands
Subclasses with type arguments of type CompareMode in dev.ua.theroer.magicutils.commandsModifier and TypeClassDescriptionenumHow to compare values when evaluating permission conditions.Methods in dev.ua.theroer.magicutils.commands that return CompareModeModifier and TypeMethodDescriptionstatic CompareModeReturns the enum constant of this class with the specified name.static CompareMode[]CompareMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.ua.theroer.magicutils.commands with parameters of type CompareModeModifier and TypeMethodDescriptionCommandArgument.Builder.compareMode(CompareMode mode) Sets comparison strategy for permission checks.static booleanComparisonUtils.isEqual(Object first, Object second, CompareMode mode) Compare two objects using the configured mode.default booleanTypeParser.isEqual(S sender, @Nullable Object first, @Nullable Object second, @NotNull CompareMode mode) Compare two values under a given mode (parsers may override).static booleanComparisonUtils.isSender(Object sender, Object value, CompareMode mode) Check if a value represents the sender using the chosen mode.default booleanTypeParser.isSender(S sender, @Nullable Object value, @NotNull CompareMode mode) Check if value refers to the sender (parsers may override).