|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| TerminateImpl.java | - | 50% | 50% | 50% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: TerminateImpl.java,v 1.1 2004/12/15 14:18:13 patforna Exp $
|
|
| 3 |
*
|
|
| 4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
| 5 |
* Berne University of Applied Sciences
|
|
| 6 |
* School of Engineering and Information Technology
|
|
| 7 |
* All rights reserved.
|
|
| 8 |
*/
|
|
| 9 |
package bexee.model.activity.impl;
|
|
| 10 |
|
|
| 11 |
import bexee.core.ProcessController;
|
|
| 12 |
import bexee.core.ProcessInstance;
|
|
| 13 |
import bexee.model.BPELElementVisitor;
|
|
| 14 |
import bexee.model.StandardAttributes;
|
|
| 15 |
import bexee.model.activity.Terminate;
|
|
| 16 |
|
|
| 17 |
/**
|
|
| 18 |
* Default implementation of the <code>Terminate</code> activity.
|
|
| 19 |
*
|
|
| 20 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:13 $
|
|
| 21 |
* @author Patric Fornasier
|
|
| 22 |
* @author Pawel Kowalski
|
|
| 23 |
*/
|
|
| 24 |
public class TerminateImpl extends AbstractActivity implements Terminate { |
|
| 25 |
|
|
| 26 |
//**************************************************/
|
|
| 27 |
// c'tors
|
|
| 28 |
//**************************************************/
|
|
| 29 |
|
|
| 30 | 2 |
public TerminateImpl() {
|
| 31 | 2 |
this(null); |
| 32 |
} |
|
| 33 |
|
|
| 34 | 2 |
public TerminateImpl(StandardAttributes standardAttributes) {
|
| 35 | 2 |
super(standardAttributes);
|
| 36 |
} |
|
| 37 |
|
|
| 38 |
//**************************************************/
|
|
| 39 |
// bexee.core.BPELElement
|
|
| 40 |
//**************************************************/
|
|
| 41 |
|
|
| 42 | 0 |
public void accept(ProcessController controller, ProcessInstance instance) |
| 43 |
throws Exception {
|
|
| 44 | 0 |
controller.process(this, instance);
|
| 45 |
} |
|
| 46 |
|
|
| 47 | 0 |
public void accept(BPELElementVisitor elementVisitor) { |
| 48 | 0 |
elementVisitor.visit(this);
|
| 49 |
} |
|
| 50 |
|
|
| 51 |
} |
|
||||||||||