Class AssetArrayHolder
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.StringArrayHolder
com.hypixel.hytale.server.npc.asset.builder.holder.AssetArrayHolder
-
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.npc.asset.builder.holder.StringArrayHolder
relationValidators, stringArrayValidatorFields 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 TypeMethodDescriptionString[]get(ExecutionContext executionContext) String[]rawGet(ExecutionContext executionContext) voidreadJSON(com.google.gson.JsonElement requiredJsonElement, int minLength, int maxLength, AssetValidator validator, String name, BuilderParameters builderParameters) voidreadJSON(com.google.gson.JsonElement optionalJsonElement, int minLength, int maxLength, String[] defaultValue, AssetValidator validator, String name, BuilderParameters builderParameters) voidMethods inherited from class com.hypixel.hytale.server.npc.asset.builder.holder.StringArrayHolder
addRelationValidator, readJSON, readJSON, validate, validate, validateRelationsMethods 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
-
assetValidator
-
-
Constructor Details
-
AssetArrayHolder
public AssetArrayHolder()
-
-
Method Details
-
readJSON
public void readJSON(@Nonnull com.google.gson.JsonElement requiredJsonElement, int minLength, int maxLength, AssetValidator validator, String name, @Nonnull BuilderParameters builderParameters) -
readJSON
public void readJSON(com.google.gson.JsonElement optionalJsonElement, int minLength, int maxLength, String[] defaultValue, AssetValidator validator, String name, @Nonnull BuilderParameters builderParameters) -
get
- Overrides:
getin classStringArrayHolder
-
rawGet
- Overrides:
rawGetin classStringArrayHolder
-
staticValidate
public void staticValidate()
-