public abstract class AbstractArtifactDeployer extends Object implements ArtifactDeployer
ArtifactDeployer.| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
AbstractArtifactDeployer(ArtifactResources artifactResources,
Supplier<RuntimeToolingService> runtimeToolingService,
Map<String,String> deploymentProperties)
Creates an instance of the context.
|
| Modifier and Type | Method and Description |
|---|---|
String |
deploy(String domainId)
Deploys the artifact on Mule Runtime and returns the id.
|
void |
dispose(String id)
Disposes the artifact on Mule Runtime for the given id.
|
protected abstract String |
doInternalDeploy(ArtifactResources artifactResources,
RuntimeToolingService runtimeToolingService,
String domainId,
Map<String,String> deploymentProperties) |
protected abstract void |
doInternalDispose(String id,
RuntimeToolingService runtimeToolingService) |
public AbstractArtifactDeployer(ArtifactResources artifactResources, Supplier<RuntimeToolingService> runtimeToolingService, Map<String,String> deploymentProperties)
artifactResources - ArtifactResources of the artifact to be deployed. Non null.runtimeToolingService - RuntimeToolingService for resolving operations against the Mule Runtime. Non null.deploymentProperties - Map with the deployment properties for the artifact. Non null.public final String deploy(String domainId)
ArtifactDeployerdeploy in interface ArtifactDeployerdomainId - String representing the domain identifier.String id generated for the deployed artifact.public final void dispose(String id)
ArtifactDeployerdispose in interface ArtifactDeployerprotected abstract String doInternalDeploy(ArtifactResources artifactResources, RuntimeToolingService runtimeToolingService, String domainId, Map<String,String> deploymentProperties)
protected abstract void doInternalDispose(String id, RuntimeToolingService runtimeToolingService)
Copyright © 2024 MuleSoft, Inc.. All rights reserved.