diff options
author | Brett Porter <brett@apache.org> | 2009-12-24 04:02:11 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-12-24 04:02:11 +0000 |
commit | 1f1252456ab9bbf2b5575f8d22d993e91e7bccb1 (patch) | |
tree | 6ea9c3af1fdfeeb141ba7400eb688c70f211be4a /archiva-modules/metadata/metadata-model/src | |
parent | 79de06cf3e28ff6e0bb6b917e2a6ddcd2cbeef4b (diff) | |
download | archiva-1f1252456ab9bbf2b5575f8d22d993e91e7bccb1.tar.gz archiva-1f1252456ab9bbf2b5575f8d22d993e91e7bccb1.zip |
[MRM-1283] keep track of incomplete metadata so that it can self correct and show a meaningful message to the user
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893691 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-model/src')
-rw-r--r-- | archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java index e6dcabe84..9973c45c4 100644 --- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java +++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java @@ -51,6 +51,8 @@ public class ProjectVersionMetadata private List<Dependency> dependencies = new ArrayList<Dependency>(); + private boolean incomplete; + public String getId() { return id; @@ -205,4 +207,14 @@ public class ProjectVersionMetadata { this.dependencies.add( dependency ); } + + public boolean isIncomplete() + { + return incomplete; + } + + public void setIncomplete( boolean incomplete ) + { + this.incomplete = incomplete; + } } |