Interface KitService


public interface KitService
Kits API.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addKit(Kit kit)
    Adding a kit.
    The kit will be saved to the CommandPack vault.
    Getting the kit.
    Getting a copy of a collection of kits.
    boolean
    Checks if a set with the specified id exists.
    boolean
    Removing a kit.
    boolean
    Removing a kit.
  • Method Details

    • addKit

      boolean addKit(Kit kit)
      Adding a kit.
      The kit will be saved to the CommandPack vault.
    • removeKit

      boolean removeKit(String id)
      Removing a kit.
    • removeKit

      boolean removeKit(Kit kit)
      Removing a kit.
    • kitExist

      boolean kitExist(String id)
      Checks if a set with the specified id exists.
    • getKit

      Optional<Kit> getKit(String id)
      Getting the kit.
    • getKits

      Collection<Kit> getKits()
      Getting a copy of a collection of kits.