1 /*
2 * File: TestableSingleCallStrategy.java
3 * Date: Nov 17, 2003
4 */
5 package com.rhi.architecture.parc;
6
7 /***
8 * TestableSingleCallStrategy
9 *
10 * @author <a href="mailto:pete_mckinstry@yahoo.com">Pete McKinstry</a>
11 * @copyright 2003, All rights reserved.
12 */
13 public class TestableSingleCallStrategy extends SingleCallStrategy {
14
15 /***
16 * counter used to verify test results
17 */
18 public static int loopCount = 0;
19
20 /* (non-Javadoc)
21 * @see com.rhi.architecture.parc.AbstractExecutionStrategy#doRun()
22 */
23 protected int doRun() throws ProcessingException {
24 System.out.println("run # " + (++loopCount));
25 return loopCount;
26 }
27
28 }
This page was automatically generated by Maven