Contents
Class ValueHolder
java.lang.Object
com.hypixel.hytale.server.npc.asset.builder.holder.ValueHolder
- Direct Known Subclasses:
ArrayHolder, BooleanHolder, DoubleHolderBase, IntHolder, StringHolderBase
Holder instances store attributes which can be computed dynamically.
Normally holder classes are initialised with require/get calls when JSON attributes are read. Subclasses from ValueHolder will also store type specific validators and execute them when using get() to read the holder value.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanisStatic()voidabstract voidvalidate(ExecutionContext context)
-
Method Details
-
validate
-
getName
-
setName
-
isStatic
public boolean isStatic() -
getExpressionString
-