TSK-758 - Rename property type from TaskanaHistoryEvent to eventType

This commit is contained in:
Jose Ignacio Recuerda Cambil 2018-12-11 12:30:22 +01:00 committed by Martin Rojas Miguel Angel
parent f6f50d70b3
commit 664477e872
2 changed files with 4 additions and 4 deletions

View File

@ -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() {

View File

@ -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();
} }
} }