Class BlockTypeListFlag<F extends ListFlag<BlockTypeWrapper,F>>
java.lang.Object
com.plotsquared.core.plot.flag.PlotFlag<List<V>,F>
com.plotsquared.core.plot.flag.types.ListFlag<BlockTypeWrapper,F>
com.plotsquared.core.plot.flag.types.BlockTypeListFlag<F>
public abstract class BlockTypeListFlag<F extends ListFlag<BlockTypeWrapper,F>>
extends ListFlag<BlockTypeWrapper,F>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBlockTypeListFlag(List<BlockTypeWrapper> blockTypeList, Caption description) -
Method Summary
Modifier and TypeMethodDescriptionAn example of a string that would parse into a valid flag value.Get the tab completable values associated with the flag type, or an empty collection if tab completion isn't supported.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, flagOf, getFlagCategory, getFlagDescription, getFlagName, getName, getValue, hashCode, isValuedPermission
-
Field Details
-
skipCategoryVerification
public static boolean skipCategoryVerification
-
-
Constructor Details
-
BlockTypeListFlag
-
-
Method Details
-
parse
Description copied from class:PlotFlagParse 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:
parsein classPlotFlag<List<BlockTypeWrapper>,F extends ListFlag<BlockTypeWrapper, F>> - Parameters:
input- String to parse.- Returns:
- Parsed value, if valid.
- Throws:
FlagParseException- If the value could not be parsed.
-
getExample
Description copied from class:PlotFlagAn example of a string that would parse into a valid flag value.- Specified by:
getExamplein classPlotFlag<List<BlockTypeWrapper>,F extends ListFlag<BlockTypeWrapper, F>> - Returns:
- An example flag value.
-
getTabCompletions
Description copied from class:PlotFlagGet the tab completable values associated with the flag type, or an empty collection if tab completion isn't supported.- Overrides:
getTabCompletionsin classPlotFlag<List<BlockTypeWrapper>,F extends ListFlag<BlockTypeWrapper, F>> - Returns:
- Collection containing tab completable flag values
-