src/Pure/Build/build_process.scala
changeset 79845 0158007dfdab
parent 79844 ac40138234ce
child 79848 dc517696e5ff
equal deleted inserted replaced
79844:ac40138234ce 79845:0158007dfdab
    23     start: Date,
    23     start: Date,
    24     stop: Option[Date],
    24     stop: Option[Date],
    25     sessions: List[String]
    25     sessions: List[String]
    26   ) {
    26   ) {
    27     def active: Boolean = stop.isEmpty
    27     def active: Boolean = stop.isEmpty
       
    28     def active_build_uuid: Option[String] = if (active) Some(build_uuid) else None
    28 
    29 
    29     def print: String =
    30     def print: String =
    30       build_uuid + " (platform: " + ml_platform + ", start: " + Build_Log.print_date(start) +
    31       build_uuid + " (platform: " + ml_platform + ", start: " + Build_Log.print_date(start) +
    31         if_proper(stop, ", stop: " + Build_Log.print_date(stop.get)) + ")"
    32         if_proper(stop, ", stop: " + Build_Log.print_date(stop.get)) + ")"
    32   }
    33   }