Package net.openosrs.api.service.ge
Enum PriceAdjustment
- java.lang.Object
-
- java.lang.Enum<PriceAdjustment>
-
- net.openosrs.api.service.ge.PriceAdjustment
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PriceAdjustment>
public enum PriceAdjustment extends java.lang.Enum<PriceAdjustment>
Common price adjustment shortcuts on the Grand Exchange setup screen.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GUIDE_PRICEMINUS_1MINUS_5_PERCENTPLUS_1PLUS_5_PERCENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAction()static PriceAdjustmentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PriceAdjustment[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINUS_1
public static final PriceAdjustment MINUS_1
-
PLUS_1
public static final PriceAdjustment PLUS_1
-
MINUS_5_PERCENT
public static final PriceAdjustment MINUS_5_PERCENT
-
PLUS_5_PERCENT
public static final PriceAdjustment PLUS_5_PERCENT
-
GUIDE_PRICE
public static final PriceAdjustment GUIDE_PRICE
-
-
Method Detail
-
values
public static PriceAdjustment[] 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 (PriceAdjustment c : PriceAdjustment.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PriceAdjustment 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
-
getAction
public java.lang.String getAction()
-
-