public class DefaultMetaDataFactory extends Object implements MetaDataFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
PARENT_UUID |
| Constructor and Description |
|---|
DefaultMetaDataFactory()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStandardMetaData(DiscoveredArtifact discoveredArtifact,
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType artifact)
Adds some standard meta-data properties to the artifact instance.
|
protected org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType |
createArtifact(DiscoveredArtifact discoveredArtifact)
Creates the artifact instance based on the type of the discovered artifact.
|
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType |
createMetaData(DiscoveredArtifact discoveredArtifact)
Creates the meta-data object (S-RAMP specific) for the given artifact that
will be included in the S-RAMP archive being created.
|
void |
setContext(ZipToSrampArchiveContext context)
Called prior to creating the s-ramp archive.
|
public static final String PARENT_UUID
public void setContext(ZipToSrampArchiveContext context)
MetaDataFactorysetContext in interface MetaDataFactoryMetaDataFactory.setContext(org.overlord.sramp.atom.archive.expand.ZipToSrampArchiveContext)public org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType createMetaData(DiscoveredArtifact discoveredArtifact)
MetaDataFactorycreateMetaData in interface MetaDataFactoryorg.overlord.sramp.atom.archive.jar.client.jar.MetaDataFactory#createMetaData(org.overlord.sramp.atom.archive.jar.client.jar.DiscoveredArtifact)protected void addStandardMetaData(DiscoveredArtifact discoveredArtifact, org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType artifact)
discoveredArtifact - artifact - protected org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType createArtifact(DiscoveredArtifact discoveredArtifact)
discoveredArtifact - Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.