01: package org.concern.model;
02:
03: public class SynchronousActivity extends Activity {
04:
05: int retryDelay = 60 * 60;
06: int trials = 3;
07:
08: public SynchronousActivity() {
09: super (null);
10: }
11:
12: public SynchronousActivity(String name) {
13: super (name);
14: }
15:
16: public SynchronousActivity(String name, String implementation) {
17: super (name, implementation);
18: }
19:
20: public int getRetryDelay() {
21: return retryDelay;
22: }
23:
24: public void setRetryDelay(int retryDelay) {
25: int old = this .retryDelay;
26: this .retryDelay = retryDelay;
27: changes.firePropertyChange("retryDelay", old, retryDelay);
28: }
29:
30: public int getTrials() {
31: return trials;
32: }
33:
34: public void setTrials(int trials) {
35: int old = this .trials;
36: this .trials = trials;
37: changes.firePropertyChange("trials", old, trials);
38: }
39:
40: public Object clone() {
41: return super.clone();
42: }
43: }
|