Enum PlayerAuctionUpdateEvent.Type
java.lang.Object
java.lang.Enum<PlayerAuctionUpdateEvent.Type>
com.olziedev.playerauctions.api.events.update.PlayerAuctionUpdateEvent.Type
- All Implemented Interfaces:
Serializable,Comparable<PlayerAuctionUpdateEvent.Type>,java.lang.constant.Constable
- Enclosing class:
PlayerAuctionUpdateEvent
The list of data that can bee updated in the
PlayerAuctionUpdateEvent event.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis constant is used when, but you can useinvalid reference
Auction#addBidder(APlayer, double)PlayerAuctionBidEventThis constant is used whenAuction.setAuctionPlayer(APlayer)has been called.This constant is used whenAuction.setExpireTime(Long, Consumer, Player)has been called.This constant is used whenAuction.setPrice(double)has been called.This constant is used whenAuction.setProduct(ASerializableProduct, long)has been called.This constant is used whenAuction.setRandomSort(long)has been called. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static PlayerAuctionUpdateEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
RANDOM_SORT
This constant is used whenAuction.setRandomSort(long)has been called. -
AUCTION_PLAYER
This constant is used whenAuction.setAuctionPlayer(APlayer)has been called. -
PRICE
This constant is used whenAuction.setPrice(double)has been called. -
EXPIRE_TIME
This constant is used whenAuction.setExpireTime(Long, Consumer, Player)has been called. -
PRODUCT
This constant is used whenAuction.setProduct(ASerializableProduct, long)has been called. -
ADDED_BIDDER
This constant is used when, but you can useinvalid reference
Auction#addBidder(APlayer, double)PlayerAuctionBidEvent
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-