T
- The node type being built.B
- The builder type.public static interface MNode.Builder<T,B>
Only subtypes of this builder can be instantiated.
B name(String name) throws IllegalArgumentException
name
- the node nameIllegalArgumentException
- if name
is null or invalidT build() throws MetadataViolationException
MetadataViolationException
- if the metadata node can not be
built because some aspect of its definition violates the
rules of the metadata implementationCopyright © 2016 Push Technology Ltd. All Rights Reserved.