diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-01-19 15:52:52 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-01-19 16:57:25 +0100 |
commit | 13641737034aa84507d349c92183815c0b226764 (patch) | |
tree | 6dba2395f60a3b18212827981dc2dc9fc973ecf2 /sonar-plugin-api | |
parent | 2e246d02c1c23fc7de77d6cd5afc8f2209f9e4b8 (diff) | |
download | sonarqube-13641737034aa84507d349c92183815c0b226764.tar.gz sonarqube-13641737034aa84507d349c92183815c0b226764.zip |
SONAR-2757 add the column SNAPSHOTS.PURGE_STATUS (INTEGER)
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/database/model/Snapshot.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/Snapshot.java b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/Snapshot.java index cbd755b6e18..3b91fda8397 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/database/model/Snapshot.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/database/model/Snapshot.java @@ -66,6 +66,9 @@ public class Snapshot extends BaseIdentifiable { @Column(name = "status") private String status = STATUS_UNPROCESSED; + @Column(name = "purge_status", updatable = true, nullable = true) + private Integer purgeStatus; + @Column(name = "scope", updatable = true, nullable = true, length = 3) private String scope; @@ -268,6 +271,21 @@ public class Snapshot extends BaseIdentifiable { return this; } + /** + * @since 2.14 + */ + public Integer getPurgeStatus() { + return purgeStatus; + } + + /** + * @since 2.14 + */ + public Snapshot setPurgeStatus(Integer i) { + this.purgeStatus = i; + return this; + } + public String getScope() { return scope; } |