izpack/izpack — pull request #35 by unb (2012-07-22 12:34:48+00:00)
Title: Refactored platform, OS constraint handling:

* extended Platform to optionally include the java version (i.e java.version system property)
* added PlatformModelMatcher to enable comparisons between Platform and OsModel
* added InstallData.getPlatform() to return the platform being installed to
* deprecated static OsConstraintHelper.oneMatchesCurrentSystem(List), replaced use with PlatformModelMatcher.matchesCurrentPlatform(List). The latter provides better support for testing
* deprecated static OsConstraintHelper.matchCurrentSystem(OsModel), replaced use with PlatformModelMatcher.matchesCurrentPlatform(OsModel). The latter provides better support for testing