add Asset Maps
Add multiple AssetMap instances to be loaded with this Portal.
Example usage (kotlin):
val assetMaps = LinkedHashMap<String, AssetMap>();
assetMaps["images"] = AssetMap("images", "/shared/images", "images")
portal.addAssetMaps(assetMaps)
Content copied to clipboard
Example usage (java):
LinkedHashMap<String, AssetMap> assetMaps = new LinkedHashMap<String, AssetMap>();
assetMaps.put("images", new AssetMap("images","/shared/images","images"));
portal.addAssetMaps(assetMaps);
Content copied to clipboard
Parameters
asset Maps
a list of Plugin instances to be used with the Portal