Class HealFlag
java.lang.Object
com.plotsquared.core.plot.flag.PlotFlag<TimedFlag.Timed<T>,F>
com.plotsquared.core.plot.flag.types.TimedFlag<Integer,HealFlag>
com.plotsquared.core.plot.flag.implementations.HealFlag
-
Nested Class Summary
Nested classes/interfaces inherited from class com.plotsquared.core.plot.flag.types.TimedFlag
TimedFlag.Timed<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected HealFlag
flagOf
(@NonNull TimedFlag.Timed<Integer> value) An example of a string that would parse into a valid flag value.protected Integer
mergeValue
(Integer other) protected Integer
parseValue
(String input) Methods inherited from class com.plotsquared.core.plot.flag.PlotFlag
canEqual, createFlagInstance, equals, getFlagCategory, getFlagDescription, getFlagName, getName, getTabCompletions, getValue, hashCode, isValuedPermission
-
Field Details
-
HEAL_NOTHING
-
-
Constructor Details
-
HealFlag
-
-
Method Details
-
parseValue
- Specified by:
parseValue
in classTimedFlag<Integer,
HealFlag> - Throws:
FlagParseException
-
mergeValue
- Specified by:
mergeValue
in classTimedFlag<Integer,
HealFlag>
-
getExample
Description copied from class:PlotFlag
An example of a string that would parse into a valid flag value.- Specified by:
getExample
in classPlotFlag<TimedFlag.Timed<Integer>,
HealFlag> - Returns:
- An example flag value.
-
flagOf
- Specified by:
flagOf
in classPlotFlag<TimedFlag.Timed<Integer>,
HealFlag>
-