Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java Thu Sep 08 11:29:04 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java Thu Sep 08 14:42:36 2011 +0000 @@ -23,6 +23,8 @@ protected CallContext callContext; + protected WSPLGENCalculation calculation; + protected File workingDir; protected String dgm; @@ -47,10 +49,16 @@ - public WSPLGENJob(FLYSArtifact flys, File workingDir, CallContext context) { + public WSPLGENJob( + FLYSArtifact flys, + File workingDir, + CallContext context, + WSPLGENCalculation calculation) + { this.artifact = flys; this.workingDir = workingDir; this.callContext = context; + this.calculation = calculation; out = -1; start = Double.NaN; @@ -68,6 +76,16 @@ } + public FLYSArtifact getArtifact() { + return artifact; + } + + + public WSPLGENCalculation getCalculation() { + return calculation; + } + + public CallContext getCallContext() { return callContext; }