Class NumberArgumentProcessor
- java.lang.Object
-
- me.hsgamer.bettergui.argument.type.BaseActionArgumentProcessor
-
- me.hsgamer.bettergui.argument.type.SingleArgumentProcessor<Long>
-
- me.hsgamer.bettergui.argument.type.NumberArgumentProcessor
-
- All Implemented Interfaces:
ArgumentProcessor,MenuElement
public class NumberArgumentProcessor extends SingleArgumentProcessor<Long>
-
-
Field Summary
-
Fields inherited from class me.hsgamer.bettergui.argument.type.BaseActionArgumentProcessor
onInvalidActionApplier, onRequiredActionApplier, options
-
-
Constructor Summary
Constructors Constructor Description NumberArgumentProcessor(ArgumentProcessorBuilder.Input input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetArgumentValue(Long object)protected Optional<Long>getObject(String name)protected Stream<Long>getObjectStream()protected StringgetValue(String query, UUID uuid, Long 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
-
NumberArgumentProcessor
public NumberArgumentProcessor(ArgumentProcessorBuilder.Input input)
-
-
Method Detail
-
getObject
protected Optional<Long> getObject(String name)
- Specified by:
getObjectin classSingleArgumentProcessor<Long>
-
getObjectStream
protected Stream<Long> getObjectStream()
- Specified by:
getObjectStreamin classSingleArgumentProcessor<Long>
-
getArgumentValue
protected String getArgumentValue(Long object)
- Specified by:
getArgumentValuein classSingleArgumentProcessor<Long>
-
-