Class StaticMaskPaginatedMask

All Implemented Interfaces:
Mask, Initializable

public class StaticMaskPaginatedMask extends MaskPaginatedMask
The MaskPaginatedMask with the static list of masks
  • Field Details

    • masks

      protected final List<Mask> masks
  • Constructor Details

    • StaticMaskPaginatedMask

      public StaticMaskPaginatedMask(@NotNull @NotNull String name)
      Create a new mask
      Parameters:
      name - the name of the mask
  • Method Details

    • addMask

      @Contract("_ -> this") public <T extends Mask> StaticMaskPaginatedMask addMask(@NotNull @NotNull Collection<@NotNull T> masks)
      Add mask(s)
      Type Parameters:
      T - the type of the mask
      Parameters:
      masks - the mask
      Returns:
      this instance
    • addMask

      @Contract("_ -> this") public StaticMaskPaginatedMask addMask(@NotNull @NotNull Mask... mask)
      Add mask(s)
      Parameters:
      mask - the mask
      Returns:
      this instance
    • getMasks

      @NotNull public @NotNull List<Mask> getMasks(@NotNull @NotNull UUID uuid)
      Description copied from class: MaskPaginatedMask
      Get the masks for the unique id
      Specified by:
      getMasks in class MaskPaginatedMask
      Parameters:
      uuid - the unique id
      Returns:
      the masks
    • init

      public void init()
      Description copied from interface: Initializable
      Initialize some properties for the object
    • stop

      public void stop()
      Description copied from interface: Initializable
      Stop the object
      Specified by:
      stop in interface Initializable
      Overrides:
      stop in class MaskPaginatedMask