Package me.hsgamer.bettergui.action.type
Class PermissionAction
- java.lang.Object
-
- me.hsgamer.bettergui.api.action.BaseAction
-
- me.hsgamer.bettergui.action.type.PermissionAction
-
- All Implemented Interfaces:
BiConsumer<UUID,BatchRunnable.Process>,Action,MenuElement,ProcessApplier
public class PermissionAction extends BaseAction
-
-
Constructor Summary
Constructors Constructor Description PermissionAction(ActionBuilder.Input input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(UUID uuid, BatchRunnable.Process process)protected booleanshouldBeTrimmed()Check if the string should be trimmed-
Methods inherited from class me.hsgamer.bettergui.api.action.BaseAction
getMenu, getReplacedString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Constructor Detail
-
PermissionAction
public PermissionAction(ActionBuilder.Input input)
-
-
Method Detail
-
accept
public void accept(UUID uuid, BatchRunnable.Process process)
-
shouldBeTrimmed
protected boolean shouldBeTrimmed()
Description copied from class:BaseActionCheck if the string should be trimmed- Overrides:
shouldBeTrimmedin classBaseAction- Returns:
- true if it should
-
-