1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
package org.kuali.rice.kew.lifecycle; |
18 |
|
|
19 |
|
import org.kuali.rice.core.api.config.property.ConfigContext; |
20 |
|
import org.kuali.rice.core.api.lifecycle.Lifecycle; |
21 |
|
import org.kuali.rice.core.api.lifecycle.BaseCompositeLifecycle; |
22 |
|
import org.kuali.rice.core.api.lifecycle.Lifecycle; |
23 |
|
import org.kuali.rice.kew.mail.EmailReminderLifecycle; |
24 |
|
|
25 |
|
import java.util.LinkedList; |
26 |
|
import java.util.List; |
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
@author |
32 |
|
|
|
|
| 0% |
Uncovered Elements: 11 (11) |
Complexity: 3 |
Complexity Density: 0.5 |
|
33 |
|
public class EmbeddedLifeCycle extends BaseCompositeLifecycle { |
34 |
|
|
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 3 |
Complexity Density: 0.5 |
|
35 |
0
|
@Override... |
36 |
|
protected List<Lifecycle> loadLifecycles() throws Exception { |
37 |
0
|
List<Lifecycle> lifecycles = new LinkedList<Lifecycle>(); |
38 |
0
|
if (ConfigContext.getCurrentContextConfig().getXmlPipelineLifeCycleEnabled()) { |
39 |
0
|
lifecycles.add(new XmlPipelineLifeCycle()); |
40 |
|
} |
41 |
0
|
if (ConfigContext.getCurrentContextConfig().getEmailReminderLifecycleEnabled()) { |
42 |
0
|
lifecycles.add(new EmailReminderLifecycle()); |
43 |
|
} |
44 |
0
|
return lifecycles; |
45 |
|
} |
46 |
|
|
47 |
|
} |