public class SrampArchiveEntry extends Object
BaseArtifactType from the
Atom entry. In other words, this model represents a single archive
entry as the content and a BaseArtifactType.| Constructor and Description |
|---|
SrampArchiveEntry()
Constructor.
|
SrampArchiveEntry(String path,
File metaDataFile,
File contentFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType |
getMetaData() |
String |
getPath() |
boolean |
hasContent()
Returns true if this entry has content.
|
void |
setMetaData(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType metaData) |
void |
setPath(String path) |
public String getPath()
public void setPath(String path)
path - the path to setpublic org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType getMetaData()
public void setMetaData(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType metaData)
metaData - the artifact meta data to setpublic boolean hasContent()
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.