Enum BiddingLanguageEnum
- java.lang.Object
-
- java.lang.Enum<BiddingLanguageEnum>
-
- org.spectrumauctions.sats.core.api.BiddingLanguageEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BiddingLanguageEnum>
public enum BiddingLanguageEnum extends java.lang.Enum<BiddingLanguageEnum>
- Author:
- Michael Weiss
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIDDER_SPECIFICCATS_SPECIFICRANDOMSIZE_DECREASINGSIZE_INCREASING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Class<? extends BiddingLanguage>getXORLanguage(BiddingLanguageEnum type)static java.lang.Class<? extends BiddingLanguage>getXORQLanguage(BiddingLanguageEnum type)static BiddingLanguageEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BiddingLanguageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIZE_INCREASING
public static final BiddingLanguageEnum SIZE_INCREASING
-
SIZE_DECREASING
public static final BiddingLanguageEnum SIZE_DECREASING
-
RANDOM
public static final BiddingLanguageEnum RANDOM
-
BIDDER_SPECIFIC
public static final BiddingLanguageEnum BIDDER_SPECIFIC
-
CATS_SPECIFIC
public static final BiddingLanguageEnum CATS_SPECIFIC
-
-
Method Detail
-
values
public static BiddingLanguageEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BiddingLanguageEnum c : BiddingLanguageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BiddingLanguageEnum valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getXORLanguage
public static java.lang.Class<? extends BiddingLanguage> getXORLanguage(BiddingLanguageEnum type) throws IllegalConfigException
- Throws:
IllegalConfigException
-
getXORQLanguage
public static java.lang.Class<? extends BiddingLanguage> getXORQLanguage(BiddingLanguageEnum type) throws IllegalConfigException
- Throws:
IllegalConfigException
-
-