org.drools.workbench.jcr2vfsmigration
Class JcrExporter
java.lang.Object
org.drools.workbench.jcr2vfsmigration.JcrExporter
public class JcrExporter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JcrExporter
public JcrExporter()
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()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.