T - the type of the DeployableArtifactpublic abstract class AbstractDeployableArtifactFactory<T extends DeployableArtifact> extends Object implements ArtifactFactory<T>
DeployableArtifact factories.
Handles license validation for the artifact plugins.| Constructor and Description |
|---|
AbstractDeployableArtifactFactory(LicenseValidator licenseValidator,
org.mule.runtime.dsl.api.component.ComponentBuildingDefinitionProvider runtimeComponentBuildingDefinitionProvider,
org.mule.runtime.api.lock.LockFactory runtimeLockFactory)
Creates a new
AbstractDeployableArtifactFactory |
| Modifier and Type | Method and Description |
|---|---|
T |
createArtifact(File artifactDir,
Optional<Properties> properties)
Creates an Artifact
|
abstract DeployableArtifactDescriptor |
createArtifactDescriptor(File artifactLocation,
Optional<Properties> deploymentProperties)
Creates the artifact descriptor of the artifact.
|
protected abstract T |
doCreateArtifact(File artifactDir,
Optional<Properties> properties)
Creates an instance of
DeployableArtifact |
org.mule.runtime.dsl.api.component.ComponentBuildingDefinitionProvider |
getRuntimeComponentBuildingDefinitionProvider() |
org.mule.runtime.api.lock.LockFactory |
getRuntimeLockFactory() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArtifactDirpublic AbstractDeployableArtifactFactory(LicenseValidator licenseValidator, org.mule.runtime.dsl.api.component.ComponentBuildingDefinitionProvider runtimeComponentBuildingDefinitionProvider, org.mule.runtime.api.lock.LockFactory runtimeLockFactory)
AbstractDeployableArtifactFactorylicenseValidator - the license validator to use for plugins.runtimeComponentBuildingDefinitionProvider - provider for the runtime ComponentBuildingDefinitionsruntimeLockFactory - LockFactory for Runtime, a unique and shared lock factory to be used between different artifacts.public T createArtifact(File artifactDir, Optional<Properties> properties) throws IOException
ArtifactFactorycreateArtifact in interface ArtifactFactory<T extends DeployableArtifact>properties - deployment properties for configuration managementIOExceptionprotected abstract T doCreateArtifact(File artifactDir, Optional<Properties> properties) throws IOException
DeployableArtifactartifactDir - the artifact deployment directory.properties - deployment propertiesIOException - if there was a problem reading the content of the artifact.public abstract DeployableArtifactDescriptor createArtifactDescriptor(File artifactLocation, Optional<Properties> deploymentProperties)
artifactLocation - the artifact locationdeploymentProperties - the artifact deployment propertiespublic org.mule.runtime.dsl.api.component.ComponentBuildingDefinitionProvider getRuntimeComponentBuildingDefinitionProvider()
ComponentBuildingDefinitionProvider for runtime components.public org.mule.runtime.api.lock.LockFactory getRuntimeLockFactory()
LockFactory associated to the Runtime.Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.