public class RequirementApplier extends Object implements ProcessApplier
| Constructor and Description |
|---|
RequirementApplier(Menu menu,
String name,
Map<String,Object> section)
Create a new requirement applier
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(UUID uuid,
me.hsgamer.hscore.task.BatchRunnable.Process process) |
static Map<me.hsgamer.hscore.bukkit.clicktype.AdvancedClickType,RequirementApplier> |
convertClickRequirementAppliers(Map<String,Object> section,
WrappedButton button)
Convert the section to a map of click requirement appliers
|
Requirement.Result |
getResult(UUID uuid)
Get the result of the requirement
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic static Map<me.hsgamer.hscore.bukkit.clicktype.AdvancedClickType,RequirementApplier> convertClickRequirementAppliers(Map<String,Object> section, WrappedButton button)
section - the sectionbutton - the buttonpublic Requirement.Result getResult(UUID uuid)
uuid - the unique idpublic void accept(UUID uuid, me.hsgamer.hscore.task.BatchRunnable.Process process)
accept in interface BiConsumer<UUID,me.hsgamer.hscore.task.BatchRunnable.Process>Copyright © 2023. All rights reserved.