KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > taskmgmt > log > TaskAssignLog


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 JavaDoc taskOldActorId = null;
10   protected String JavaDoc taskNewActorId = null;
11
12   public TaskAssignLog() {
13   }
14
15   public TaskAssignLog(TaskInstance taskInstance, String JavaDoc taskOldActorId, String JavaDoc taskNewActorId) {
16     super(taskInstance);
17     this.taskOldActorId = taskOldActorId;
18     this.taskNewActorId = taskNewActorId;
19   }
20
21   public String JavaDoc toString() {
22     return "task-assign["+taskNewActorId+","+taskInstance+"]";
23   }
24   
25   public String JavaDoc getTaskNewActorId() {
26     return taskNewActorId;
27   }
28   public String JavaDoc getTaskOldActorId() {
29     return taskOldActorId;
30   }
31 }
32
Popular Tags