Package net.simplace.sim
Class FWSimMigrator
java.lang.Object
net.simplace.sim.FWSimMigrator
Migrates a solution file using migration rules from different versions
- Author:
- Andreas Enders
-
Method Summary
Modifier and TypeMethodDescriptionvoidstatic FWSimMigratorInstantiates the Migratorstatic voidvoidbooleanmigrate(org.jdom2.Element aSolutionElement, float aSolutionVersion)
-
Method Details
-
getInstance
Instantiates the Migrator- Returns:
- the Migrator
-
migrate
public boolean migrate(org.jdom2.Element aSolutionElement, float aSolutionVersion) throws IOException - Parameters:
aSolutionVersion-aSolutionElement-- Returns:
- if migration was successful
- Throws:
IOException
-
check
-
migrate
-
main
-