public static final class ExtensionManifestBuilder.DescriberManifestBuilder extends Object
DescriberManifest.
A new instance of this class should be used per each manifest to be created. The created instances will be immutable.
Instances of this class should be obtained through the
ExtensionManifestBuilder.withDescriber() method.
| Modifier and Type | Method and Description |
|---|---|
ExtensionManifestBuilder.DescriberManifestBuilder |
addProperties(Map<String,String> properties)
Adds all the entries in the given
properties map
as a property into the describer. |
ExtensionManifestBuilder.DescriberManifestBuilder |
addProperty(String key,
String value)
Sets the given property on the describer.
|
ExtensionManifestBuilder.DescriberManifestBuilder |
setId(String id)
Sets the describer's ID
|
public ExtensionManifestBuilder.DescriberManifestBuilder setId(String id)
id - the id to be setthis builderpublic ExtensionManifestBuilder.DescriberManifestBuilder addProperty(String key, String value)
If a value is already associated with the key, then
it is overridden with the new value
key - the property's keyvalue - the property's valuethis builderpublic ExtensionManifestBuilder.DescriberManifestBuilder addProperties(Map<String,String> properties)
properties map
as a property into the describer.
If the properties map contains any key already present
on the describer, then the existing pair will be discarded in
favor of the new one.
properties - a Map of properties to be setthis builderCopyright © 2017 MuleSoft, Inc.. All rights reserved.