public interface IArtifactDescriptor
ArtifactDescriptor
classModifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 ValuesIArtifactKey getArtifactKey()
String getProperty(String key)
null
is returned if no such property existskey
- the property key to look fornull
Map<String,String> getProperties()
IProcessingStepDescriptor[] getProcessingSteps()
IArtifactRepository getRepository()
null
is returned if this descriptor is not held in a repository.null
if none.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.