Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/FLYSArtifact.java @ 5865:73da40528cf2
River artifacts: Renamed FLYSUtils to RiverUtils.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:09:31 +0200 |
parents | 4897a58c8746 |
children | 9a6741ccf6d4 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/FLYSArtifact.java Sun Apr 28 15:04:44 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/FLYSArtifact.java Sun Apr 28 15:09:31 2013 +0200 @@ -55,7 +55,7 @@ import org.dive4elements.river.artifacts.model.CalculationMessage; import org.dive4elements.river.artifacts.states.DefaultState; import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; -import org.dive4elements.river.utils.FLYSUtils; +import org.dive4elements.river.utils.RiverUtils; /** * The default FLYS artifact with convenience added. @@ -139,7 +139,7 @@ { List<String> stateIds = getPreviousStateIds(); - FLYSContext flysContext = FLYSUtils.getFlysContext(context); + FLYSContext flysContext = RiverUtils.getFlysContext(context); StateEngine engine = (StateEngine) flysContext.get( FLYSContext.STATE_ENGINE_KEY); @@ -191,7 +191,7 @@ super.setup(identifier, factory, context, callMeta, data); - FLYSContext flysContext = FLYSUtils.getFlysContext(context); + FLYSContext flysContext = RiverUtils.getFlysContext(context); List<State> states = getStates(context); @@ -447,7 +447,7 @@ dumpArtifact(); } - FLYSContext flysContext = FLYSUtils.getFlysContext(context); + FLYSContext flysContext = RiverUtils.getFlysContext(context); StateEngine stateEngine = (StateEngine) flysContext.get( FLYSContext.STATE_ENGINE_KEY); @@ -704,7 +704,7 @@ * @return list of states. */ protected List<State> getStates(Object context) { - FLYSContext flysContext = FLYSUtils.getFlysContext(context); + FLYSContext flysContext = RiverUtils.getFlysContext(context); StateEngine engine = (StateEngine) flysContext.get( FLYSContext.STATE_ENGINE_KEY); return engine.getStates(getName()); @@ -718,7 +718,7 @@ * @return state with given ID. */ protected State getState(Object context, String stateID) { - FLYSContext flysContext = FLYSUtils.getFlysContext(context); + FLYSContext flysContext = RiverUtils.getFlysContext(context); StateEngine engine = (StateEngine) flysContext.get( FLYSContext.STATE_ENGINE_KEY); return engine.getState(stateID); @@ -979,7 +979,7 @@ DefaultState current = (DefaultState) getCurrentState(context); - FLYSContext flysContext = FLYSUtils.getFlysContext(context); + FLYSContext flysContext = RiverUtils.getFlysContext(context); StateEngine engine = (StateEngine) flysContext.get( FLYSContext.STATE_ENGINE_KEY); @@ -1031,7 +1031,7 @@ log.debug("Determine if the state '" + stateId + "' is reachable."); } - FLYSContext flysContext = FLYSUtils.getFlysContext(context); + FLYSContext flysContext = RiverUtils.getFlysContext(context); State currentState = getCurrentState(context); StateEngine sEngine = (StateEngine) flysContext.get(