public abstract class AbstractSynapseDependentArtifactExporter extends Object implements SynapseDependentArtifactExporter
SynapseDependentArtifactExporter.| Constructor and Description |
|---|
AbstractSynapseDependentArtifactExporter() |
| Modifier and Type | Method and Description |
|---|---|
CAppArtifactDependency |
export(org.apache.axiom.om.OMElement artifactDefinition,
CAppArtifactDependency synapseArtifactClone,
File workDir)
Exports the specified dependent artifact into the directory specified by
contentLocation argument.
|
protected abstract String |
getArtifactName(org.apache.axiom.om.OMElement artifactDefinition)
Determines the name of the artifact which is to be exported.
|
protected abstract String |
getArtifactType()
Determines the type of the artifact to be exported.
|
public AbstractSynapseDependentArtifactExporter()
public CAppArtifactDependency export(org.apache.axiom.om.OMElement artifactDefinition, CAppArtifactDependency synapseArtifactClone, File workDir) throws Exception
export in interface SynapseDependentArtifactExporterartifactDefinition - artifact definition OMElement.synapseArtifactClone - clone of the synapse artifact from which this dependent
artifact was extracted from.workDir - temporary working directory.Exception - if an error occurs while exporting the artifact.protected abstract String getArtifactName(org.apache.axiom.om.OMElement artifactDefinition)
artifactDefinition - serialized form of the artifact.protected abstract String getArtifactType()
Copyright © 2024 WSO2. All rights reserved.