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. |
File |
getFile() |
BaseArtifactType |
getMetaData() |
String |
getName()
Gets the short name of the artifact.
|
void |
setArchivePath(String archivePath) |
void |
setFile(File file) |
void |
setMetaData(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 BaseArtifactType getMetaData()
public void setMetaData(BaseArtifactType metaData)
metaData - the metaData to setpublic String getName()
Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.