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;
|
this.taskId = taskId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getType() {
|
public String getEventType() {
|
||||||
return eventType;
|
return eventType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setType(String type) {
|
public void setEventType(String eventType) {
|
||||||
this.eventType = type;
|
this.eventType = eventType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Instant getCreated() {
|
public Instant getCreated() {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ public class ClaimedEvent extends TaskEvent {
|
||||||
|
|
||||||
public ClaimedEvent(Task task) {
|
public ClaimedEvent(Task task) {
|
||||||
super(task);
|
super(task);
|
||||||
setType("TASK_CLAIMED");
|
setEventType("TASK_CLAIMED");
|
||||||
created = task.getClaimed();
|
created = task.getClaimed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue