org.drools.process.audit.ProcessInstanceLog Maven / Gradle / Ivy
package org.drools.process.audit;
import java.util.Date;
public class ProcessInstanceLog {
private long id;
private long processInstanceId;
private String processId;
private Date start;
private Date end;
ProcessInstanceLog() {
}
public ProcessInstanceLog(long processInstanceId, String processId) {
setProcessInstanceId(processInstanceId);
setProcessId(processId);
setStart(new Date());
}
public long getId() {
return id;
}
void setId(long id) {
this.id = id;
}
public long getProcessInstanceId() {
return processInstanceId;
}
private void setProcessInstanceId(long processInstanceId) {
this.processInstanceId = processInstanceId;
}
public String getProcessId() {
return processId;
}
public void setProcessId(String processId) {
this.processId = processId;
}
public Date getStart() {
return start;
}
public void setStart(Date start) {
this.start = start;
}
public Date getEnd() {
return end;
}
public void setEnd(Date end) {
this.end = end;
}
public String toString() {
return "Process '" + processId + "' [" + processInstanceId + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy