org.drools.workbench.jcr2vfsmigration
Class Jcr2VfsMigrater
java.lang.Object
org.drools.workbench.jcr2vfsmigration.Jcr2VfsMigrater
@ApplicationScoped
public class Jcr2VfsMigrater
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.slf4j.Logger logger
migrationConfig
@Inject
protected MigrationConfig migrationConfig
guvnorBootstrapConfiguration
@Inject
protected org.drools.guvnor.server.repository.GuvnorBootstrapConfiguration guvnorBootstrapConfiguration
moduleMigrater
@Inject
protected ModuleMigrater moduleMigrater
migrationPathManager
@Inject
protected MigrationPathManager migrationPathManager
assetMigrater
@Inject
protected AssetMigrater assetMigrater
categoryMigrater
@Inject
protected CategoryMigrater categoryMigrater
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
Jcr2VfsMigrater
public Jcr2VfsMigrater()
parseArgs
public boolean parseArgs(String[] args)
migrateAll
public void migrateAll()
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-2013 JBoss by Red Hat. All Rights Reserved.