public static class BundleDescriptor.Builder extends Object
BundleDescriptor| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BundleDescriptor |
build() |
BundleDescriptor.Builder |
setArtifactId(String artifactId) |
BundleDescriptor.Builder |
setBaseVersion(String baseVersion)
Sets the base version of the bundle, for example "1.0-SNAPSHOT".
|
BundleDescriptor.Builder |
setClassifier(String classifier)
Sets the classifier of the bundle.
|
BundleDescriptor.Builder |
setGroupId(String groupId) |
BundleDescriptor.Builder |
setProperties(Map<String,String> properties)
Sets properties for the descriptor to be used by 3rd party.
|
BundleDescriptor.Builder |
setType(String type)
Sets the extension type of the bundle.
|
BundleDescriptor.Builder |
setVersion(String version)
This is the version of the bundle.
|
public BundleDescriptor.Builder setGroupId(String groupId)
groupId - the group id of the bundle. Cannot be null or empty.public BundleDescriptor.Builder setArtifactId(String artifactId)
artifactId - the artifactId id of the bundle. Cannot be null or empty.public BundleDescriptor.Builder setVersion(String version)
version - the version of the bundle. Cannot be null or empty.public BundleDescriptor.Builder setBaseVersion(String baseVersion)
BundleDescriptor.getVersion(), the base version
will always refer to the unresolved meta version.baseVersion - the base version of the bundle. Cannot be null or empty.public BundleDescriptor.Builder setType(String type)
type - the type id of the bundle. Cannot be null or empty.public BundleDescriptor.Builder setClassifier(String classifier)
classifier - classifier of the bundle. Cannot be emptypublic BundleDescriptor.Builder setProperties(Map<String,String> properties)
properties - properties/metadata to associated to the bundle.public BundleDescriptor build()
BundleDescriptor with the previous provided parameters to the builder.Copyright © 2024 MuleSoft, Inc.. All rights reserved.