1 package org.jbpm.taskmgmt.log; 2 3 import org.jbpm.taskmgmt.exe.TaskInstance; 4 5 public class TaskAssignLog extends TaskLog { 6 7 private static final long serialVersionUID = 1L; 8 9 protected String taskOldActorId = null; 10 protected String taskNewActorId = null; 11 12 public TaskAssignLog() { 13 } 14 15 public TaskAssignLog(TaskInstance taskInstance, String taskOldActorId, String taskNewActorId) { 16 super(taskInstance); 17 this.taskOldActorId = taskOldActorId; 18 this.taskNewActorId = taskNewActorId; 19 } 20 21 public String toString() { 22 return "task-assign["+taskNewActorId+","+taskInstance+"]"; 23 } 24 25 public String getTaskNewActorId() { 26 return taskNewActorId; 27 } 28 public String getTaskOldActorId() { 29 return taskOldActorId; 30 } 31 } 32 | Popular Tags |