public class DiscoveredArtifact extends Object
| Constructor and Description |
|---|
DiscoveredArtifact(File file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArchivePath() |
InputStream |
getContent()
Returns an
InputStream over the content of the artifact. |
String |
getExtension() |
File |
getFile() |
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType |
getMetaData() |
String |
getName()
Gets the short name of the artifact.
|
void |
setArchivePath(String archivePath) |
void |
setFile(File file) |
void |
setMetaData(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType metaData) |
public DiscoveredArtifact(File file)
file - public File getFile()
public void setFile(File file)
file - the file to setpublic String getArchivePath()
public void setArchivePath(String archivePath)
archivePath - the archivePath to setpublic InputStream getContent() throws IOException
InputStream over the content of the artifact.IOExceptionpublic 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 metaData to setpublic String getName()
public String getExtension()
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.