public interface ObjectBuilder<T>
Class, populating its attributes based on a list of
ValueResolvers.
The built object's class must comply with the following requirements:
build(Event) method can be invoked
several times on the same instance. Each time build(Event) is invoked, the resolvers will be re evaluated with the
given event.| Modifier and Type | Method and Description |
|---|---|
T |
build(Event event)
Returns a new instance of the specified class.
|
boolean |
isDynamic()
Whether any of the registered
ValueResolvers are dynamic |
boolean isDynamic()
ValueResolvers are dynamictrue if at least one resolver is dynamic. false otherwiseT build(Event event) throws org.mule.runtime.api.exception.MuleException
Event will be used to obtain a value from each registered
ValueResolverevent - a Event{@link - MuleException}org.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.