Class FeedFlag
java.lang.Object
com.plotsquared.core.plot.flag.PlotFlag<TimedFlag.Timed<T>,F>
com.plotsquared.core.plot.flag.types.TimedFlag<Integer,FeedFlag>
com.plotsquared.core.plot.flag.implementations.FeedFlag
-
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 FeedFlag
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
-
FEED_NOTHING
-
-
Constructor Details
-
FeedFlag
-
-
Method Details
-
parseValue
- Specified by:
parseValue
in classTimedFlag<Integer,
FeedFlag> - Throws:
FlagParseException
-
mergeValue
- Specified by:
mergeValue
in classTimedFlag<Integer,
FeedFlag>
-
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>,
FeedFlag> - Returns:
- An example flag value.
-
flagOf
- Specified by:
flagOf
in classPlotFlag<TimedFlag.Timed<Integer>,
FeedFlag>
-