Enum NexoInventory
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum NexoInventory extends Enum<NexoInventory>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumNexoInventory.Typepublic classNexoInventory.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPESTYLE_DEFAULT_NAMESLAYOUTROWSSIZETITLESEARCH_TITLENEXT_ICONPREVIOUS_ICONEXIT_ICONSEARCH_ICONDIRECTORY_ICONRECIPE_SHOWCASE_TITLE
-
Method Summary
Modifier and Type Method Description final UnitsetValue(Object value, Boolean save)StringtoString()final StringtoString(String optionalDefault)final <Error class: unknown class>toKey()final <Error class: unknown class>toKey(Key optionalDefault)final <E extends Enum<E>> EtoEnum(Class<E> enumClass, E defaultValue)final <E extends Enum<E>> EtoEnumOrGet(Class<E> enumClass, Function1<String, E> fallback)final ComponenttoComponent()final IntegertoInt()final IntegertoInt(Integer optionalDefault)final BooleantoBool(Boolean defaultValue)final BooleantoBool()final List<String>toStringList()final List<String>toStringListOrSingle()final ConfigurationSectiontoConfigSection()final DurationtoDuration()final NexoInventoryvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<NexoInventory>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetPath()final ObjectgetValue()final UnitsetValue(Object value)final EnumEntries<NexoInventory>getEntries()-
-
Method Detail
-
toKey
final <Error class: unknown class> toKey()
-
toKey
final <Error class: unknown class> toKey(Key optionalDefault)
-
toEnumOrGet
final <E extends Enum<E>> E toEnumOrGet(Class<E> enumClass, Function1<String, E> fallback)
-
toComponent
final Component toComponent()
-
toInt
final Integer toInt(Integer optionalDefault)
- Parameters:
optionalDefault- value to return if the path is not an integer- Returns:
the value of the path as an int, or the default value if the path is not found
-
toStringList
final List<String> toStringList()
-
toStringListOrSingle
final List<String> toStringListOrSingle()
-
toConfigSection
final ConfigurationSection toConfigSection()
-
toDuration
final Duration toDuration()
-
valueOf
final NexoInventory valueOf(String value)
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.)
-
values
final Array<NexoInventory> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<NexoInventory> getEntries()
-
-
-
-