コード例 #1
0
 private Result result(Build build) {
   return build.hasPassed() ? SUCCESS : FAILURE;
 }
コード例 #2
0
 private TimePoint timestamp(Build build) {
   DateTime dodgy = build.getBuildDate();
   return timer.time(dodgy);
 }
コード例 #3
0
 private Id id(Build build) {
   DateTime date = build.getBuildDate();
   String label = "" + date.getMillis();
   return nu.nu(Id.class, label);
 }