Class ACategory

java.lang.Object
com.olziedev.playerauctions.api.auction.ACategory

public abstract class ACategory extends Object
Represents an auction category that can provide basic category data for the auction.
  • Constructor Details

    • ACategory

      public ACategory()
  • Method Details

    • getName

      public abstract String getName()
      Returns:
      The name of the category from the category configuration file.
    • getDisplayName

      public abstract String getDisplayName()
      Returns:
      The displayname of the category from the category configuration file.
    • getAuctions

      public abstract List<Auction> getAuctions(CommandSender sender)
      Parameters:
      sender - The command sender that is requesting the list.
      Returns:
      The list of the auctions in this category.
    • getMinPrice

      public abstract double getMinPrice()
      Returns:
      The minimum price an auction can be in this category.
    • getMaxPrice

      public abstract double getMaxPrice()
      Returns:
      The maximum price an auction can be in this category.
    • isAll

      public abstract boolean isAll()
      Returns:
      Weather or not this category is marked as the all category.