Class PlayerArgumentProcessor
- java.lang.Object
-
- me.hsgamer.bettergui.argument.type.BaseActionArgumentProcessor
-
- me.hsgamer.bettergui.argument.type.SingleArgumentProcessor<org.bukkit.OfflinePlayer>
-
- me.hsgamer.bettergui.argument.type.PlayerArgumentProcessor
-
- All Implemented Interfaces:
ArgumentProcessor
,MenuElement
public class PlayerArgumentProcessor extends SingleArgumentProcessor<org.bukkit.OfflinePlayer>
-
-
Field Summary
-
Fields inherited from class me.hsgamer.bettergui.argument.type.BaseActionArgumentProcessor
onInvalidActionApplier, onRequiredActionApplier, options
-
-
Constructor Summary
Constructors Constructor Description PlayerArgumentProcessor(ArgumentProcessorBuilder.Input input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getArgumentValue(org.bukkit.OfflinePlayer object)
protected Optional<org.bukkit.OfflinePlayer>
getObject(String name)
protected Stream<org.bukkit.OfflinePlayer>
getObjectStream()
protected String
getValue(String query, UUID uuid, org.bukkit.OfflinePlayer object)
-
Methods inherited from class me.hsgamer.bettergui.argument.type.SingleArgumentProcessor
getObject, getValue, process, tabComplete
-
Methods inherited from class me.hsgamer.bettergui.argument.type.BaseActionArgumentProcessor
getMenu
-
-
-
-
Constructor Detail
-
PlayerArgumentProcessor
public PlayerArgumentProcessor(ArgumentProcessorBuilder.Input input)
-
-
Method Detail
-
getObject
protected Optional<org.bukkit.OfflinePlayer> getObject(String name)
- Specified by:
getObject
in classSingleArgumentProcessor<org.bukkit.OfflinePlayer>
-
getObjectStream
protected Stream<org.bukkit.OfflinePlayer> getObjectStream()
- Specified by:
getObjectStream
in classSingleArgumentProcessor<org.bukkit.OfflinePlayer>
-
getArgumentValue
protected String getArgumentValue(org.bukkit.OfflinePlayer object)
- Specified by:
getArgumentValue
in classSingleArgumentProcessor<org.bukkit.OfflinePlayer>
-
getValue
protected String getValue(String query, UUID uuid, org.bukkit.OfflinePlayer object)
- Specified by:
getValue
in classSingleArgumentProcessor<org.bukkit.OfflinePlayer>
-
-