Drools Workbench - jcr2vfs - JCR to XML Exporter 6.2.0.Final

org.drools.workbench.jcr2vfsmigration
Class JcrExporter

java.lang.Object
  extended by org.drools.workbench.jcr2vfsmigration.JcrExporter

public class JcrExporter
extends Object


Field Summary
protected  CategoryExporter categoryExporter
           
protected  FSExportConfig exportConfig
           
protected  org.drools.guvnor.server.repository.GuvnorBootstrapConfiguration guvnorBootstrapConfiguration
           
protected  ModuleAssetExporter moduleAssetExporter
           
protected  org.jboss.weld.context.bound.BoundRequestContext requestContext
           
protected  Map<String,Object> requestDataStore
           
protected  org.jboss.weld.context.bound.BoundSessionContext sessionContext
           
protected  Map<String,Object> sessionDataStore
           
 
Constructor Summary
JcrExporter()
           
 
Method Summary
protected  String determineJcrRepositoryRootDirectory()
          Workaround the repository.xml and repository directory layout mess.
protected  void endContexts()
           
 void exportAll()
           
 boolean parseArgs(String[] args)
           
protected  void setupDirectories()
           
protected  void startContexts()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exportConfig

@Inject
protected FSExportConfig exportConfig

categoryExporter

@Inject
protected CategoryExporter categoryExporter

moduleAssetExporter

@Inject
protected ModuleAssetExporter moduleAssetExporter

guvnorBootstrapConfiguration

@Inject
protected org.drools.guvnor.server.repository.GuvnorBootstrapConfiguration guvnorBootstrapConfiguration

sessionContext

@Inject
protected org.jboss.weld.context.bound.BoundSessionContext sessionContext

sessionDataStore

protected Map<String,Object> sessionDataStore

requestContext

@Inject
protected org.jboss.weld.context.bound.BoundRequestContext requestContext

requestDataStore

protected Map<String,Object> requestDataStore
Constructor Detail

JcrExporter

public JcrExporter()
Method Detail

parseArgs

public boolean parseArgs(String[] args)

exportAll

public void exportAll()

setupDirectories

protected void setupDirectories()

determineJcrRepositoryRootDirectory

protected String determineJcrRepositoryRootDirectory()
Workaround the repository.xml and repository directory layout mess.

If repository.root.directory was NOT specified, the layout looks like this:

 repository.xml
 repository
 repository/repository
 repository/repository/datastore
 repository/repository/index
 repository/repository/...
 repository/version
 repository/version/...
 repository/workspaces
 repository/workspaces/...
 
If repository.root.directory was specified however, the layout looks like this:
 repository.xml
 repository
 repository/datastore
 repository/index
 repository/...
 version
 version/...
 workspaces
 workspaces/...
 

Returns:
never null

startContexts

protected void startContexts()

endContexts

protected void endContexts()

Drools Workbench - jcr2vfs - JCR to XML Exporter 6.2.0.Final

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