Class TemporalArrayHolder
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.TemporalArrayHolder
-
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 TypeMethodDescriptionstatic TemporalAmount[]convertStringToTemporalArray(String[] source) getTemporalArray(ExecutionContext executionContext) rawGetTemporalArray(ExecutionContext executionContext) voidreadJSON(com.google.gson.JsonElement requiredJsonElement, int minLength, int maxLength, TemporalArrayValidator validator, String name, BuilderParameters builderParameters) voidvalidate(TemporalAmount[] value) Methods inherited from class com.hypixel.hytale.server.npc.asset.builder.holder.StringArrayHolder
addRelationValidator, get, rawGet, 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
-
validator
-
cachedTemporalArray
-
-
Constructor Details
-
TemporalArrayHolder
public TemporalArrayHolder()
-
-
Method Details
-
convertStringToTemporalArray
-
readJSON
public void readJSON(@Nonnull com.google.gson.JsonElement requiredJsonElement, int minLength, int maxLength, TemporalArrayValidator validator, String name, @Nonnull BuilderParameters builderParameters) -
getTemporalArray
-
rawGetTemporalArray
-
validate
-