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)
Creates a new
AbstractDeployableArtifactFactory |
| Modifier and Type | Method and Description |
|---|---|
T |
createArtifact(File artifactDir)
Creates an Artifact
|
protected abstract T |
doCreateArtifact(File artifactDir)
Creates an instance of
DeployableArtifact |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArtifactDirpublic AbstractDeployableArtifactFactory(LicenseValidator licenseValidator)
AbstractDeployableArtifactFactorylicenseValidator - the license validator to use for plugins.public final T createArtifact(File artifactDir) throws IOException
ArtifactFactorycreateArtifact in interface ArtifactFactory<T extends DeployableArtifact>artifactDir - directory where the artifact is locatedIOExceptionprotected abstract T doCreateArtifact(File artifactDir) throws IOException
DeployableArtifactartifactDir - the artifact deployment directory.IOException - if there was a problem reading the content of the artifact.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.