KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > webapp > context > BpmContext


1 package org.jbpm.webapp.context;
2
3 import org.jbpm.graph.def.ProcessDefinition;
4 import org.jbpm.taskmgmt.exe.TaskInstance;
5
6 public class BpmContext {
7
8   ProcessDefinition processDefinition;
9   TaskInstance taskInstance;
10
11   public ProcessDefinition getProcessDefinition() {
12     return processDefinition;
13   }
14   public void setProcessDefinition(ProcessDefinition processDefinition) {
15     this.processDefinition = processDefinition;
16   }
17   public TaskInstance getTaskInstance() {
18     return taskInstance;
19   }
20   public void setTaskInstance(TaskInstance taskInstance) {
21     this.taskInstance = taskInstance;
22   }
23 }
24
Popular Tags