Class PackageMetadata
java.lang.Object
org.fedoraproject.xmvn.metadata.PackageMetadata
- All Implemented Interfaces:
Serializable, Cloneable
Root element of the metadata file.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArtifact(ArtifactMetadata artifactMetadata) Method addArtifact.voidaddProperty(String key, String value) Method addProperty.voidaddSkippedArtifact(SkippedArtifactMetadata skippedArtifactMetadata) Method addSkippedArtifact.clone()Method clone.Method getArtifacts.Get the modelEncoding field.Method getProperties.Method getSkippedArtifacts.getUuid()Get deprecated, unused.voidremoveArtifact(ArtifactMetadata artifactMetadata) Method removeArtifact.voidremoveSkippedArtifact(SkippedArtifactMetadata skippedArtifactMetadata) Method removeSkippedArtifact.voidsetArtifacts(List<ArtifactMetadata> artifacts) Set list of installed artifacts described by this piece of metadata.voidsetModelEncoding(String modelEncoding) Set the modelEncoding field.voidsetProperties(Properties properties) Set properties of this piece of metadata.voidsetSkippedArtifacts(List<SkippedArtifactMetadata> skippedArtifacts) Set list of artifacts built but not installed in any package.voidSet deprecated, unused.
-
Constructor Details
-
PackageMetadata
public PackageMetadata()
-
-
Method Details
-
addArtifact
Method addArtifact.- Parameters:
artifactMetadata- a artifactMetadata object.
-
addProperty
-
addSkippedArtifact
Method addSkippedArtifact.- Parameters:
skippedArtifactMetadata- a skippedArtifactMetadata object.
-
clone
Method clone. -
getArtifacts
-
getModelEncoding
-
getProperties
-
getSkippedArtifacts
Method getSkippedArtifacts.- Returns:
- List
-
getUuid
-
removeArtifact
Method removeArtifact.- Parameters:
artifactMetadata- a artifactMetadata object.
-
removeSkippedArtifact
Method removeSkippedArtifact.- Parameters:
skippedArtifactMetadata- a skippedArtifactMetadata object.
-
setArtifacts
Set list of installed artifacts described by this piece of metadata.- Parameters:
artifacts- a artifacts object.
-
setModelEncoding
Set the modelEncoding field.- Parameters:
modelEncoding- a modelEncoding object.
-
setProperties
Set properties of this piece of metadata.- Parameters:
properties- a properties object.
-
setSkippedArtifacts
Set list of artifacts built but not installed in any package. Useful for detecting broken package dependencies.- Parameters:
skippedArtifacts- a skippedArtifacts object.
-
setUuid
-