Class StringSchema
java.lang.Object
com.hypixel.hytale.codec.schema.config.Schema
com.hypixel.hytale.codec.schema.config.StringSchema
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.hypixel.hytale.codec.schema.config.Schema
Schema.BooleanOrSchema, Schema.HytaleMetadata, Schema.InheritSettings, Schema.SchemaTypeField -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<StringSchema> private Stringprivate Stringprivate String[]private StringSchema.CommonAssetprivate Stringprivate Integerprivate Integerprivate StringFields inherited from class com.hypixel.hytale.codec.schema.config.Schema
ARRAY_CODEC, BASE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemabooleangetConst()String[]getEnum()inthashCode()voidvoidsetDefault(String default_) voidvoidsetHytaleCommonAsset(StringSchema.CommonAsset hytaleCommonAsset) voidsetHytaleCosmeticAsset(String hytaleCosmeticAsset) voidsetMaxLength(int maxLength) voidsetMinLength(int minLength) voidsetPattern(String pattern) voidsetPattern(Pattern pattern) Methods inherited from class com.hypixel.hytale.codec.schema.config.Schema
anyOf, data, getAllOf, getAnyOf, getData, getDefaultRaw, getDefinitions, getDescription, getElse, getEnumDescriptions, getHytale, getHytale, getHytaleAssetRef, getHytaleCustomAssetRef, getHytaleParent, getHytaleSchemaTypeField, getId, getIf, getMarkdownDescription, getMarkdownEnumDescriptions, getOneOf, getRef, getRequired, getThen, getTitle, getTypes, init, isDoNotSuggest, not, ref, setAllOf, setAnyOf, setData, setDefaultRaw, setDefinitions, setDescription, setDoNotSuggest, setElse, setElse, setEnumDescriptions, setHytaleAssetRef, setHytaleCustomAssetRef, setHytaleParent, setHytaleSchemaTypeField, setId, setIf, setMarkdownDescription, setMarkdownEnumDescriptions, setOneOf, setRef, setRequired, setThen, setTitle, setTypes
-
Field Details
-
CODEC
-
pattern
-
enum_
-
const_
-
default_
-
minLength
-
maxLength
-
hytaleCommonAsset
-
hytaleCosmeticAsset
-
-
Constructor Details
-
StringSchema
public StringSchema()
-
-
Method Details
-
getPattern
-
setPattern
-
setPattern
-
getMinLength
-
setMinLength
public void setMinLength(int minLength) -
getMaxLength
-
setMaxLength
public void setMaxLength(int maxLength) -
getEnum
-
setEnum
-
getConst
-
setConst
-
getDefault
-
setDefault
-
getHytaleCommonAsset
-
setHytaleCommonAsset
-
getHytaleCosmeticAsset
-
setHytaleCosmeticAsset
-
equals
-
hashCode
public int hashCode() -
constant
-