public final class ExclusiveParameterGroupObjectBuilder<T> extends DefaultObjectBuilder<T>
DefaultObjectBuilder extension that validates that the built object complies with
the rules specified in ExclusiveOptionalsprototypeClass, resolvers| Constructor and Description |
|---|
ExclusiveParameterGroupObjectBuilder(Class<T> prototypeClass,
org.mule.runtime.extension.api.declaration.type.annotation.ExclusiveOptionalsTypeAnnotation exclusiveOptionalsTypeAnnotation)
Creates a new instance that will build instances of
prototypeClass. |
| Modifier and Type | Method and Description |
|---|---|
T |
build(ValueResolvingContext context)
Returns a new instance of the specified class.
|
addPropertyResolver, isDynamic, setEncoding, setNamepublic ExclusiveParameterGroupObjectBuilder(Class<T> prototypeClass, org.mule.runtime.extension.api.declaration.type.annotation.ExclusiveOptionalsTypeAnnotation exclusiveOptionalsTypeAnnotation)
prototypeClass.prototypeClass - a Class which needs to have a public defualt constructorpublic T build(ValueResolvingContext context) throws org.mule.runtime.api.exception.MuleException
ObjectBuilderValueResolvingContext will be used to obtain a value
from each registered ValueResolverbuild in interface ObjectBuilder<T>build in class DefaultObjectBuilder<T>context - a ValueResolvingContextorg.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.