|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IArtifactDescriptor
An artifact descriptor describes an artifact stored in some artifact repository. The descriptor defines the artifact it contains, as well as any processing steps that must be performed when the artifact is transferred out of the repository (such as decompression, error checking, etc).
ArtifactDescriptor
classField Summary | |
---|---|
static String |
ARTIFACT_MD5
An artifact descriptor property (value "artifact.md5") indicating the MD5 checksum of the artifact bytes in its native format (after processing steps have been applied). |
static String |
ARTIFACT_SIZE
An artifact descriptor property (value "artifact.size") indicating the size in bytes of the artifact in its native format (after processing steps have been applied). |
static String |
DOWNLOAD_CONTENTTYPE
An artifact descriptor property (value "download.contentType") indicating the content type of the artifact bytes that are transferred. |
static String |
DOWNLOAD_MD5
An artifact descriptor property (value "download.md5") indicating the MD5 checksum of the artifact bytes that are transferred. |
static String |
DOWNLOAD_SIZE
An artifact descriptor property (value "download.size") indicating the number of bytes that will be transferred when this artifact is transferred out of the repository. |
static String |
FORMAT
An artifact descriptor property (value "format") indicating the storage format of the artifact in the repository. |
static String |
FORMAT_PACKED
A property value for the FORMAT artifact descriptor property (value "packed")
indicating the storage format is using pack200 compression. |
static String |
TYPE_ZIP
An content type (value "application/zip") indicating the content is a zip file. |
Method Summary | |
---|---|
IArtifactKey |
getArtifactKey()
Return the key for the artifact described by this descriptor. |
IProcessingStepDescriptor[] |
getProcessingSteps()
Return the list of processing steps associated with this descriptor. |
Map<String,String> |
getProperties()
Returns a read-only collection of the properties of the artifact descriptor. |
String |
getProperty(String key)
Return the value of the given property in this descriptor null
is returned if no such property exists |
IArtifactRepository |
getRepository()
Return the artifact repository that holds the artifact described by this descriptor. |
Field Detail |
---|
static final String DOWNLOAD_SIZE
static final String ARTIFACT_SIZE
static final String DOWNLOAD_MD5
static final String DOWNLOAD_CONTENTTYPE
static final String TYPE_ZIP
static final String ARTIFACT_MD5
static final String FORMAT
FORMAT_PACKED
,
Constant Field Valuesstatic final String FORMAT_PACKED
FORMAT
artifact descriptor property (value "packed")
indicating the storage format is using pack200 compression.
FORMAT
,
Constant Field ValuesMethod Detail |
---|
IArtifactKey getArtifactKey()
String getProperty(String key)
null
is returned if no such property exists
key
- the property key to look for
null
Map<String,String> getProperties()
IProcessingStepDescriptor[] getProcessingSteps()
IArtifactRepository getRepository()
null
is returned if this descriptor is not held in a repository.
null
if none.
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.