public final class MuleArtifactLoaderDescriptorBuilder extends Object
MuleArtifactLoaderDescriptor.
A new instance of this class should be used per each manifest to be created. The created instances will be immutable.
| Constructor and Description |
|---|
MuleArtifactLoaderDescriptorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
MuleArtifactLoaderDescriptorBuilder |
addProperty(String key,
Object value)
Sets the given property on the describer.
|
MuleArtifactLoaderDescriptor |
build()
Creates and returns a new
MuleArtifactLoaderDescriptor according to the values set |
MuleArtifactLoaderDescriptorBuilder |
setId(String id)
Sets the describer's ID
|
public MuleArtifactLoaderDescriptorBuilder setId(String id)
id - the ID to be setthis builderpublic MuleArtifactLoaderDescriptorBuilder addProperty(String key, Object 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 MuleArtifactLoaderDescriptor build()
MuleArtifactLoaderDescriptor according to the values setMuleArtifactLoaderDescriptorCopyright © 2017 MuleSoft, Inc.. All rights reserved.