comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java @ 1149:64b465699a24

Added an Output target for WSPLGEN reports that will be available when an WSPLGEN calculation is finished. flys-artifacts/trunk@2680 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 08 Sep 2011 14:42:36 +0000
parents 727c53fd0dc7
children aaf8d32f85bd
comparison
equal deleted inserted replaced
1148:302461d5d071 1149:64b465699a24
20 20
21 21
22 protected FLYSArtifact artifact; 22 protected FLYSArtifact artifact;
23 23
24 protected CallContext callContext; 24 protected CallContext callContext;
25
26 protected WSPLGENCalculation calculation;
25 27
26 protected File workingDir; 28 protected File workingDir;
27 29
28 protected String dgm; 30 protected String dgm;
29 protected String pro; 31 protected String pro;
45 protected double diff; 47 protected double diff;
46 protected double dist; 48 protected double dist;
47 49
48 50
49 51
50 public WSPLGENJob(FLYSArtifact flys, File workingDir, CallContext context) { 52 public WSPLGENJob(
53 FLYSArtifact flys,
54 File workingDir,
55 CallContext context,
56 WSPLGENCalculation calculation)
57 {
51 this.artifact = flys; 58 this.artifact = flys;
52 this.workingDir = workingDir; 59 this.workingDir = workingDir;
53 this.callContext = context; 60 this.callContext = context;
61 this.calculation = calculation;
54 62
55 out = -1; 63 out = -1;
56 start = Double.NaN; 64 start = Double.NaN;
57 end = Double.NaN; 65 end = Double.NaN;
58 from = Double.NaN; 66 from = Double.NaN;
63 } 71 }
64 72
65 73
66 public File getWorkingDir() { 74 public File getWorkingDir() {
67 return workingDir; 75 return workingDir;
76 }
77
78
79 public FLYSArtifact getArtifact() {
80 return artifact;
81 }
82
83
84 public WSPLGENCalculation getCalculation() {
85 return calculation;
68 } 86 }
69 87
70 88
71 public CallContext getCallContext() { 89 public CallContext getCallContext() {
72 return callContext; 90 return callContext;

http://dive4elements.wald.intevation.org