public static enum ContainerAmadron.EnumProblemState extends java.lang.Enum<ContainerAmadron.EnumProblemState> implements ITranslatableEnum
| Enum Constant and Description |
|---|
NO_INVENTORY |
NO_PROBLEMS |
NOT_ENOUGH_FLUID |
NOT_ENOUGH_FLUID_SPACE |
NOT_ENOUGH_ITEM_SPACE |
NOT_ENOUGH_ITEMS |
NOT_ENOUGH_STOCK |
OUT_OF_STOCK |
TOO_MANY_ITEMS |
TOO_MUCH_FLUID |
| Modifier and Type | Method and Description |
|---|---|
ContainerAmadron.EnumProblemState |
addProblem(ContainerAmadron.EnumProblemState problem) |
java.lang.String |
getTranslationKey() |
static ContainerAmadron.EnumProblemState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ContainerAmadron.EnumProblemState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerAmadron.EnumProblemState NO_PROBLEMS
public static final ContainerAmadron.EnumProblemState NO_INVENTORY
public static final ContainerAmadron.EnumProblemState NOT_ENOUGH_ITEM_SPACE
public static final ContainerAmadron.EnumProblemState NOT_ENOUGH_FLUID_SPACE
public static final ContainerAmadron.EnumProblemState NOT_ENOUGH_ITEMS
public static final ContainerAmadron.EnumProblemState NOT_ENOUGH_FLUID
public static final ContainerAmadron.EnumProblemState OUT_OF_STOCK
public static final ContainerAmadron.EnumProblemState NOT_ENOUGH_STOCK
public static final ContainerAmadron.EnumProblemState TOO_MANY_ITEMS
public static final ContainerAmadron.EnumProblemState TOO_MUCH_FLUID
public static ContainerAmadron.EnumProblemState[] values()
for (ContainerAmadron.EnumProblemState c : ContainerAmadron.EnumProblemState.values()) System.out.println(c);
public static ContainerAmadron.EnumProblemState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getTranslationKey()
getTranslationKey in interface ITranslatableEnumpublic ContainerAmadron.EnumProblemState addProblem(ContainerAmadron.EnumProblemState problem)