Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2014-09-05 03:39:41 -0400
committerRoberto E. Escobar2014-10-01 17:04:46 -0400
commit7e7e8a2f1838153349c62572407eb6660a93d510 (patch)
tree3ada7052dbc82851838badfa0804cece44d90d9b /plugins/org.eclipse.osee.disposition.rest.model
parentfcccfc5c28bf4b0e52011f4f1b2432bfca21cf2e (diff)
downloadorg.eclipse.osee-7e7e8a2f1838153349c62572407eb6660a93d510.tar.gz
org.eclipse.osee-7e7e8a2f1838153349c62572407eb6660a93d510.tar.xz
org.eclipse.osee-7e7e8a2f1838153349c62572407eb6660a93d510.zip
feature[ats_ATS103384]: Add new fields to Dispo
Diffstat (limited to 'plugins/org.eclipse.osee.disposition.rest.model')
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItem.java8
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java41
2 files changed, 48 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItem.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItem.java
index 54dbd88579..be65d0d2c5 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItem.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItem.java
@@ -39,4 +39,12 @@ public interface DispoItem extends Identifiable<String> {
JSONObject getDiscrepanciesList();
JSONArray getAnnotationsList();
+
+ String getMachine();
+
+ String getCategory();
+
+ String getElapsedTime();
+
+ Boolean getAborted();
}
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java
index 292cab8655..b150e0f13d 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java
@@ -34,6 +34,10 @@ public class DispoItemData implements DispoItem {
private JSONArray annotationsList;
private String totalPoints;
private Boolean needsRerun;
+ private String machine;
+ private String category;
+ private String elapsedTime;
+ private Boolean aborted;
public DispoItemData() {
@@ -94,6 +98,26 @@ public class DispoItemData implements DispoItem {
return needsRerun;
}
+ @Override
+ public String getMachine() {
+ return machine;
+ }
+
+ @Override
+ public String getCategory() {
+ return category;
+ }
+
+ @Override
+ public String getElapsedTime() {
+ return elapsedTime;
+ }
+
+ @Override
+ public Boolean getAborted() {
+ return aborted;
+ }
+
public void setName(String name) {
this.name = name;
}
@@ -138,6 +162,22 @@ public class DispoItemData implements DispoItem {
this.needsRerun = needsRerun;
}
+ public void setMachine(String machine) {
+ this.machine = machine;
+ }
+
+ public void setCategory(String category) {
+ this.category = category;
+ }
+
+ public void setElapsedTime(String elapsedTime) {
+ this.elapsedTime = elapsedTime;
+ }
+
+ public void setAborted(Boolean aborted) {
+ this.aborted = aborted;
+ }
+
@Override
public boolean matches(Identity<?>... identities) {
for (Identity<?> identity : identities) {
@@ -147,5 +187,4 @@ public class DispoItemData implements DispoItem {
}
return false;
}
-
} \ No newline at end of file

Back to the top