Class ListFlag<V,F extends PlotFlag<List<V>,F>>

java.lang.Object
com.plotsquared.core.plot.flag.PlotFlag<List<V>,F>
com.plotsquared.core.plot.flag.types.ListFlag<V,F>
Direct Known Subclasses:
AnalysisFlag, BlockedCmdsFlag, BlockTypeListFlag

public abstract class ListFlag<V,F extends PlotFlag<List<V>,F>> extends PlotFlag<List<V>,F>
  • Constructor Details

  • Method Details

    • merge

      public F merge(@NonNull List<V> newValue)
      Description copied from class: PlotFlag
      Merge this flag's value with another value and return an instance holding the merged value.
      Specified by:
      merge in class PlotFlag<List<V>,F extends PlotFlag<List<V>,F>>
      Parameters:
      newValue - New flag value.
      Returns:
      Flag containing parsed flag value.
    • toString

      public String toString()
      Description copied from class: PlotFlag
      Returns a string representation of the flag instance, that when passed through PlotFlag.parse(String) will result in an equivalent instance of the flag.
      Specified by:
      toString in class PlotFlag<List<V>,F extends PlotFlag<List<V>,F>>
      Returns:
      String representation of the flag