public abstract class AbstractArtifactAgnosticServiceBuilder<T extends ArtifactAgnosticServiceBuilder,S> extends Object implements ArtifactAgnosticServiceBuilder<T,S>
ArtifactAgnosticServiceBuilder.Dependency, ArtifactAgnosticServiceBuilder.Exclusion| Modifier | Constructor and Description |
|---|---|
protected |
AbstractArtifactAgnosticServiceBuilder(org.mule.runtime.module.deployment.impl.internal.application.DefaultApplicationFactory defaultApplicationFactory) |
| Modifier and Type | Method and Description |
|---|---|
T |
addDependency(ArtifactAgnosticServiceBuilder.Dependency dependency)
Adds a dependency needed by the artifact that must be included in order to build the artifact.
|
T |
addDependency(String groupId,
String artifactId,
String artifactVersion,
String classifier,
String type)
Adds a dependency needed by the artifact that must be included in order to build the artifact.
|
S |
build()
Creates a
S service with the provided configuration |
protected abstract S |
createService(ApplicationSupplier applicationSupplier) |
protected Map<String,String> |
forcedDeploymentProperties() |
T |
setArtifactDeclaration(org.mule.runtime.app.declaration.api.ArtifactDeclaration artifactDeclaration)
Configures the declaration of mule components that represent this artifact.
|
T |
setArtifactProperties(Map<String,String> artifactProperties)
Sets the artifact properties for the session that would be considered for resolving properties placeholder.
|
protected AbstractArtifactAgnosticServiceBuilder(org.mule.runtime.module.deployment.impl.internal.application.DefaultApplicationFactory defaultApplicationFactory)
public T setArtifactProperties(Map<String,String> artifactProperties)
ArtifactAgnosticServiceBuildersetArtifactProperties in interface ArtifactAgnosticServiceBuilder<T extends ArtifactAgnosticServiceBuilder,S>artifactProperties - to be set when generating the artifact.public T setArtifactDeclaration(org.mule.runtime.app.declaration.api.ArtifactDeclaration artifactDeclaration)
ArtifactAgnosticServiceBuildersetArtifactDeclaration in interface ArtifactAgnosticServiceBuilder<T extends ArtifactAgnosticServiceBuilder,S>artifactDeclaration - set of mule componentspublic T addDependency(String groupId, String artifactId, String artifactVersion, String classifier, String type)
If the dependency is a regular jar file, it will be made available to all extensions since the only possible jar dependency that may be added are specific clients jar for executing the created service like jdbc drivers or JMS clients.
addDependency in interface ArtifactAgnosticServiceBuilder<T extends ArtifactAgnosticServiceBuilder,S>groupId - group id of the artifactartifactId - artifact id of the artifactartifactVersion - version of the artifactclassifier - classifier of the artifacttype - type of the artifactpublic T addDependency(ArtifactAgnosticServiceBuilder.Dependency dependency)
If the dependency is a regular jar file, it will be made available to all extensions since the only possible jar dependency that may be added are specific clients jar for executing the created service like jdbc drivers or JMS clients.
addDependency in interface ArtifactAgnosticServiceBuilder<T extends ArtifactAgnosticServiceBuilder,S>dependency - ArtifactAgnosticServiceBuilder.Dependency to be added to the artifact.public S build()
ArtifactAgnosticServiceBuilderS service with the provided configurationbuild in interface ArtifactAgnosticServiceBuilder<T extends ArtifactAgnosticServiceBuilder,S>protected abstract S createService(ApplicationSupplier applicationSupplier)
Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.