2011-01-10 00:24:08 -06:00
|
|
|
package com.quantumdigital.ithelp.timeanalyzer
|
|
|
|
|
|
|
|
import com.jdbernard.timeanalyzer.Entry
|
|
|
|
import com.jdbernard.timeanalyzer.Event
|
|
|
|
|
|
|
|
public class TicketEntry extends Entry {
|
|
|
|
|
|
|
|
public int id
|
|
|
|
|
2011-01-11 08:21:41 -06:00
|
|
|
public TicketEntry(TicketCategory category, Event e) {
|
2011-01-10 00:24:08 -06:00
|
|
|
super(category, e)
|
|
|
|
|
2011-01-12 17:21:39 -06:00
|
|
|
def m = e.description =~ /.*#(\d+).*/
|
|
|
|
this.id = m[0][1] as int
|
2011-01-10 00:24:08 -06:00
|
|
|
}
|
|
|
|
}
|