Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: chrome_release_test_status/src/dashboard/BuildInfo.java

Issue 2831022: The following java and jsp files will collect the Chrome release testing stat... Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_release_test_status/src/dashboard/BuildInfo.java
===================================================================
--- chrome_release_test_status/src/dashboard/BuildInfo.java (revision 0)
+++ chrome_release_test_status/src/dashboard/BuildInfo.java (revision 0)
@@ -0,0 +1,48 @@
+package mydemo;
+
+import com.google.appengine.api.datastore.Key;
+import com.google.appengine.api.users.User;
+
+import java.util.Date;
+import javax.jdo.annotations.IdGeneratorStrategy;
+import javax.jdo.annotations.PersistenceCapable;
+import javax.jdo.annotations.Persistent;
+import javax.jdo.annotations.PrimaryKey;
+
+@PersistenceCapable
+public class BuildInfo {
+ @PrimaryKey
+ @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
+ private Key key;
+
+ @Persistent
+ private String build_number;
+
+ @Persistent
+ private Date date;
+
+ public BuildInfo(String build_number, Date date) {
+ this.build_number = build_number;
+ this.date = date;
+ }
+
+ public Key getKey() {
+ return key;
+ }
+
+ public String getBuildNumber() {
+ return build_number;
+ }
+
+ public Date getDate() {
+ return date;
+ }
+
+ public void setBuildNumber(String build_number) {
+ this.build_number = build_number;
+ }
+
+ public void setDate(Date date) {
+ this.date = date;
+ }
+}
« no previous file with comments | « chrome_release_test_status/src/META-INF/jdoconfig.xml ('k') | chrome_release_test_status/src/dashboard/LinuxTestStatus.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698