Drools Workbench - XML to VFS import utility 6.2.0.CR4

org.drools.workbench.jcr2vfsmigration.util
Class MigrationPathManager

java.lang.Object
  extended by 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.


Constructor Summary
MigrationPathManager()
           
 
Method Summary
 String dotToSlash(String pathEntry)
           
 String escapePathEntry(String pathEntry)
           
 org.uberfire.backend.vfs.Path generatePathForAsset(Module xmlModule, XmlAsset xmlAsset, String extension)
           
 org.uberfire.backend.vfs.Path generatePathForAsset(Module xmlModule, XmlAsset xmlAsset, String extension, boolean hasDSL)
           
 org.uberfire.backend.vfs.Path generatePathForGlobal(Module xmlModule)
           
 org.uberfire.backend.vfs.Path generatePathForModule(String jcrModuleName)
           
 org.uberfire.backend.vfs.Path generateRootPath()
           
 org.uberfire.java.nio.file.FileSystem getFileSystem()
           
 String normalizePackageName(String stringToEscape)
           
 void setRepoName(String repoName, String outputDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationPathManager

public MigrationPathManager()
Method Detail

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()

Drools Workbench - XML to VFS import utility 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.