|
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 java.lang.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 java.lang.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 java.lang.String |
DOWNLOAD_CONTENTTYPE
An artifact descriptor property (value "download.contentType") indicating the content type of the artifact bytes that are transferred. |
static java.lang.String |
DOWNLOAD_MD5
An artifact descriptor property (value "download.md5") indicating the MD5 checksum of the artifact bytes that are transferred. |
static java.lang.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 java.lang.String |
FORMAT
An artifact descriptor property (value "format") indicating the storage format of the artifact in the repository. |
static java.lang.String |
FORMAT_PACKED
A property value for the FORMAT artifact descriptor property (value "packed")
indicating the storage format is using pack200 compression. |
static java.lang.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. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns a read-only collection of the properties of the artifact descriptor. |
java.lang.String |
getProperty(java.lang.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 java.lang.String DOWNLOAD_SIZE
static final java.lang.String ARTIFACT_SIZE
static final java.lang.String DOWNLOAD_MD5
static final java.lang.String DOWNLOAD_CONTENTTYPE
static final java.lang.String TYPE_ZIP
static final java.lang.String ARTIFACT_MD5
static final java.lang.String FORMAT
FORMAT_PACKED
,
Constant Field Valuesstatic final java.lang.String FORMAT_PACKED
FORMAT
artifact descriptor property (value "packed")
indicating the storage format is using pack200 compression.
FORMAT
,
Constant Field ValuesMethod Detail |
---|
IArtifactKey getArtifactKey()
java.lang.String getProperty(java.lang.String key)
null
is returned if no such property exists
key
- the property key to look for
null
java.util.Map<java.lang.String,java.lang.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.