Examples of listAssets()


Examples of org.jbpm.designer.repository.vfs.VFSRepository.listAssets()

        assertTrue(sourceAssetExists);

        boolean copied = repository.moveAsset(id, "/target", "renamed.bpmn2");
        assertTrue(copied);

        foundAsset = repository.listAssets("/target", new FilterByExtension("bpmn2"));

        assertNotNull(foundAsset);
        assertEquals(1, foundAsset.size());

        boolean assetExists = repository.assetExists("/target/renamed.bpmn2");
View Full Code Here

Examples of org.jbpm.designer.repository.vfs.VFSRepository.listAssets()

        assertEquals(1, foundAsset.size());

        boolean assetExists = repository.assetExists("/target/renamed.bpmn2");
        assertTrue(assetExists);

        foundAsset = repository.listAssets("/source", new FilterByExtension("bpmn2"));

        assertNotNull(foundAsset);
        assertEquals(0, foundAsset.size());

        sourceAssetExists = repository.assetExists(id);
View Full Code Here

Examples of org.webjars.WebJarAssetLocator.listAssets()

        Boolean strip = (Boolean)webJar.get("stripVersion");

        //
        WebJarAssetLocator locator = new WebJarAssetLocator();
        String folderPath = "/" + id + "/" + version;
        Set<String> assetsPaths = locator.listAssets(folderPath);
        log.info("Webjars " + webJar + " resolved assets " + assetsPaths + " from " + folderPath);
        for (String assetPath : assetsPaths) {
          URL assetURL = WebJarAssetLocator.class.getClassLoader().getResource(assetPath);
          if (assetURL != null) {
            String dst = assetPath.substring(WebJarAssetLocator.WEBJARS_PATH_PREFIX.length() + 1);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.