org.drools.workbench.jcr2vfsmigration.util
Class MigrationPathManager
java.lang.Object
org.drools.workbench.jcr2vfsmigration.util.MigrationPathManager
@ApplicationScoped
public class MigrationPathManager
- extends Object
Generates a Path for every object that needs to be migrated.
Guarantees uniqueness. Supports look ups.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MigrationPathManager
public MigrationPathManager()
generateRootPath
public org.uberfire.backend.vfs.Path generateRootPath()
generatePathForModule
public org.uberfire.backend.vfs.Path generatePathForModule(String jcrModuleName)
generatePathForGlobal
public org.uberfire.backend.vfs.Path generatePathForGlobal(Module xmlModule)
generatePathForAsset
public org.uberfire.backend.vfs.Path generatePathForAsset(Module xmlModule,
XmlAsset xmlAsset,
String extension,
boolean hasDSL)
generatePathForAsset
public org.uberfire.backend.vfs.Path generatePathForAsset(Module xmlModule,
XmlAsset xmlAsset,
String extension)
escapePathEntry
public String escapePathEntry(String pathEntry)
normalizePackageName
public String normalizePackageName(String stringToEscape)
dotToSlash
public String dotToSlash(String pathEntry)
setRepoName
public void setRepoName(String repoName,
String outputDir)
getFileSystem
public org.uberfire.java.nio.file.FileSystem getFileSystem()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.