Class BlockedCmdsFlag
java.lang.Object
com.plotsquared.core.plot.flag.PlotFlag<List<V>,F>
com.plotsquared.core.plot.flag.types.ListFlag<String,BlockedCmdsFlag>
com.plotsquared.core.plot.flag.implementations.BlockedCmdsFlag
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BlockedCmdsFlag
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
-
Field Details
-
BLOCKED_CMDS_FLAG_NONE
-
-
Constructor Details
-
BlockedCmdsFlag
-
-
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<String>,
BlockedCmdsFlag> - 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<String>,
BlockedCmdsFlag> - Returns:
- An example flag value.
-
flagOf
- Specified by:
flagOf
in classPlotFlag<List<String>,
BlockedCmdsFlag>
-