|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.client.jar.DiscoveredArtifact
public class DiscoveredArtifact
An artifact that will be incuded in the final S-RAMP archive.
| Constructor Summary | |
|---|---|
DiscoveredArtifact(File file)
Constructor. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscoveredArtifact(File file)
file - | Method Detail |
|---|
public File getFile()
public void setFile(File file)
file - the file to setpublic String getArchivePath()
public void setArchivePath(String archivePath)
archivePath - the archivePath to set
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||