TSK-758 - Rename property type from TaskanaHistoryEvent to eventType
This commit is contained in:
parent
f6f50d70b3
commit
664477e872
|
@ -68,12 +68,12 @@ public class TaskanaHistoryEvent {
|
|||
this.taskId = taskId;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
public String getEventType() {
|
||||
return eventType;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.eventType = type;
|
||||
public void setEventType(String eventType) {
|
||||
this.eventType = eventType;
|
||||
}
|
||||
|
||||
public Instant getCreated() {
|
||||
|
|
|
@ -8,7 +8,7 @@ public class ClaimedEvent extends TaskEvent {
|
|||
|
||||
public ClaimedEvent(Task task) {
|
||||
super(task);
|
||||
setType("TASK_CLAIMED");
|
||||
setEventType("TASK_CLAIMED");
|
||||
created = task.getClaimed();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue