Class EnumSetHolder<E extends Enum<E>>
java.lang.Object
com.hypixel.hytale.server.npc.asset.builder.holder.ValueHolder
com.hypixel.hytale.server.npc.asset.builder.holder.ArrayHolder
com.hypixel.hytale.server.npc.asset.builder.holder.EnumSetHolder<E>
-
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.npc.asset.builder.holder.ArrayHolder
maxLength, minLengthFields inherited from class com.hypixel.hytale.server.npc.asset.builder.holder.ValueHolder
expression, LOG_VALUES, LOGGER, name, valueType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(ExecutionContext executionContext) rawGet(ExecutionContext executionContext) voidreadJSON(com.google.gson.JsonElement requiredJsonElement, Class<E> clazz, String name, BuilderParameters builderParameters) voidreadJSON(com.google.gson.JsonElement optionalJsonElement, EnumSet<E> defaultValue, Class<E> clazz, String name, BuilderParameters builderParameters) voidvalidate(ExecutionContext context) Methods inherited from class com.hypixel.hytale.server.npc.asset.builder.holder.ArrayHolder
readJSON, readJSON, readJSON, readJSON, setLength, setLength, validateLengthMethods inherited from class com.hypixel.hytale.server.npc.asset.builder.holder.ValueHolder
getExpressionString, getName, isStatic, readJSON, readJSON, setName
-
Field Details
-
clazz
-
enumConstants
-
value
-
-
Constructor Details
-
EnumSetHolder
public EnumSetHolder()
-
-
Method Details
-
validate
- Specified by:
validatein classValueHolder
-
readJSON
public void readJSON(@Nonnull com.google.gson.JsonElement requiredJsonElement, Class<E> clazz, String name, @Nonnull BuilderParameters builderParameters) -
readJSON
-
get
-
rawGet
-