KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > graph > log > SignalLog


1 package org.jbpm.graph.log;
2
3 import org.jbpm.graph.def.*;
4 import org.jbpm.logging.log.*;
5
6 public class SignalLog extends CompositeLog {
7
8   private static final long serialVersionUID = 1L;
9   
10   protected Transition transition = null;
11   
12   public SignalLog() {
13   }
14     
15   public SignalLog(Transition transition) {
16     this.transition = transition;
17   }
18     
19   public String JavaDoc toString() {
20     String JavaDoc toString = "defaultsignal";
21     if (transition.getName()!=null) {
22       toString = "signal["+transition.getName()+"]";
23     }
24     return toString;
25   }
26   
27   public Transition getTransition() {
28     return transition;
29   }
30 }
31
Popular Tags