Package org.fedoraproject.xmvn.metadata
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 TypeMethodDescriptionvoid
addArtifact
(ArtifactMetadata artifactMetadata) Method addArtifact.void
addProperty
(String key, String value) Method addProperty.void
addSkippedArtifact
(SkippedArtifactMetadata skippedArtifactMetadata) Method addSkippedArtifact.clone()
Method clone.Method getArtifacts.Get the modelEncoding field.Method getProperties.Method getSkippedArtifacts.getUuid()
Get deprecated, unused.void
removeArtifact
(ArtifactMetadata artifactMetadata) Method removeArtifact.void
removeSkippedArtifact
(SkippedArtifactMetadata skippedArtifactMetadata) Method removeSkippedArtifact.void
setArtifacts
(List<ArtifactMetadata> artifacts) Set list of installed artifacts described by this piece of metadata.void
setModelEncoding
(String modelEncoding) Set the modelEncoding field.void
setProperties
(Properties properties) Set properties of this piece of metadata.void
setSkippedArtifacts
(List<SkippedArtifactMetadata> skippedArtifacts) Set list of artifacts built but not installed in any package.void
Set deprecated, unused.
-
Constructor Details
-
PackageMetadata
public PackageMetadata()
-
-
Method Details
-
addArtifact
Method addArtifact.- Parameters:
artifactMetadata
- a artifactMetadata object.
-
addProperty
Method addProperty.- Parameters:
key
- a key object.value
- a value object.
-
addSkippedArtifact
Method addSkippedArtifact.- Parameters:
skippedArtifactMetadata
- a skippedArtifactMetadata object.
-
clone
Method clone. -
getArtifacts
Method getArtifacts.- Returns:
- List
-
getModelEncoding
Get the modelEncoding field.- Returns:
- String
-
getProperties
Method getProperties.- Returns:
- Properties
-
getSkippedArtifacts
Method getSkippedArtifacts.- Returns:
- List
-
getUuid
Get deprecated, unused.- Returns:
- String
-
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
Set deprecated, unused.- Parameters:
uuid
- a uuid object.
-