com.netgrif.application.engine.history.domain.taskevents.TaskEventLog Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.history.domain.taskevents;
import com.netgrif.application.engine.history.domain.caseevents.CaseEventLog;
import com.netgrif.application.engine.petrinet.domain.events.EventPhase;
import com.netgrif.application.engine.workflow.domain.Case;
import com.netgrif.application.engine.workflow.domain.Task;
import lombok.Getter;
import org.springframework.data.mongodb.core.mapping.Document;
@Document
public abstract class TaskEventLog extends CaseEventLog {
@Getter
private String taskId;
@Getter
private String taskTitle;
@Getter
private String transitionId;
protected TaskEventLog(Task task, Case useCase, EventPhase eventPhase) {
super(task.getObjectId(), useCase, eventPhase);
this.taskId = task.getStringId();
this.taskTitle = task.getTitle().toString();
this.transitionId = task.getTransitionId();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy