public static final class SchemaBuilder.EnumBuilder<R> extends SchemaBuilder.NamespacedBuilder<R,SchemaBuilder.EnumBuilder<R>>
SchemaBuilder.PropBuilder.prop(String, String)
, namespace with
SchemaBuilder.NamespacedBuilder.namespace(String)
, doc with SchemaBuilder.NamedBuilder.doc(String)
, and aliases with
SchemaBuilder.NamedBuilder.aliases(String[])
.
The Enum schema is finalized when its required symbols are set via
symbols(String[])
.Modifier and Type | Method and Description |
---|---|
protected SchemaBuilder.EnumBuilder<R> |
self()
a self-type for chaining builder subclasses.
|
R |
symbols(String... symbols)
Configure this enum type's symbols, and end its configuration.
|
namespace
aliases, doc
prop
protected SchemaBuilder.EnumBuilder<R> self()
SchemaBuilder.PropBuilder
self
in class SchemaBuilder.PropBuilder<SchemaBuilder.EnumBuilder<R>>
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.