Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java @ 1127:6b9877a9f6c1
Added infrastructure to start WSPLGEN calculations - the FloodMapState already start such calculations.
flys-artifacts/trunk@2639 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 02 Sep 2011 13:12:05 +0000 |
parents | 563e015f0f22 |
children | 727c53fd0dc7 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java Fri Sep 02 12:57:08 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java Fri Sep 02 13:12:05 2011 +0000 @@ -8,6 +8,10 @@ import java.util.ArrayList; import java.util.List; +import de.intevation.artifacts.CallContext; + +import de.intevation.flys.artifacts.FLYSArtifact; + public class WSPLGENJob { @@ -15,6 +19,12 @@ public static final String GEL_NOSPERRE = "NOSPERRE"; + protected FLYSArtifact artifact; + + protected CallContext callContext; + + protected File workingDir; + protected String dgm; protected String pro; protected String wsp; @@ -37,7 +47,11 @@ - public WSPLGENJob() { + public WSPLGENJob(FLYSArtifact flys, File workingDir, CallContext context) { + this.artifact = flys; + this.workingDir = workingDir; + this.callContext = callContext; + out = -1; start = Double.NaN; end = Double.NaN; @@ -49,6 +63,16 @@ } + public File getWorkingDir() { + return workingDir; + } + + + public CallContext getCallContext() { + return callContext; + } + + public void setWsp(String wsp) { this.wsp = wsp; }