protected static InstallationModificationImpl . InstallationState load ( final InstalledIdentity installedIdentity ) throws IOException { final InstallationModificationImpl . InstallationState state = new InstallationModificationImpl . InstallationState ( ) ; for ( final Layer layer : installedIdentity . getLayers ( ) ) { state . putLayer ( layer ) ; } for ( final AddOn addOn : installedIdentity . getAddOns ( ) ) { state . putAddOn ( addOn ) ; } return state ; }
Load the installation state based on the identity