Class AnalysisFlag
java.lang.Object
com.plotsquared.core.plot.flag.PlotFlag<List<V>,F>
com.plotsquared.core.plot.flag.types.ListFlag<Integer,AnalysisFlag>
com.plotsquared.core.plot.flag.implementations.AnalysisFlag
- All Implemented Interfaces:
InternalFlag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AnalysisFlag
An example of a string that would parse into a valid flag value.Parse a string into a flag, and throw an exception in the case that the string does not represent a valid flag value.Methods inherited from class com.plotsquared.core.plot.flag.PlotFlag
canEqual, createFlagInstance, equals, getFlagCategory, getFlagDescription, getFlagName, getName, getTabCompletions, getValue, hashCode, isValuedPermission
-
Constructor Details
-
AnalysisFlag
-
-
Method Details
-
parse
Description copied from class:PlotFlag
Parse a string into a flag, and throw an exception in the case that the string does not represent a valid flag value. This instance won't change its state, but instead an instance holding the parsed flag value will be returned.- Specified by:
parse
in classPlotFlag<List<Integer>,
AnalysisFlag> - Parameters:
input
- String to parse.- Returns:
- Parsed value, if valid.
- Throws:
FlagParseException
- If the value could not be parsed.
-
getExample
Description copied from class:PlotFlag
An example of a string that would parse into a valid flag value.- Specified by:
getExample
in classPlotFlag<List<Integer>,
AnalysisFlag> - Returns:
- An example flag value.
-
flagOf
- Specified by:
flagOf
in classPlotFlag<List<Integer>,
AnalysisFlag>
-