Class RootFoldersBootstrapper
java.lang.Object
com.flowable.content.spring.bootstrap.RootFoldersBootstrapper
- All Implemented Interfaces:
Lifecycle,Phased,SmartLifecycle
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentEngineprotected booleanprotected Collection<String>protected final Objectprotected Stringprotected booleanprotected Stringprotected Stringprotected StringFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionRootFoldersBootstrapper(ContentEngine contentEngine, String topFolderName, String workFolderName, String templatesFolderName, boolean createPublicFolder, String publicFolderName, Collection<String> extraRootFolderNames) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
isAutoStartup, stop
-
Field Details
-
contentEngine
-
topFolderName
-
workFolderName
-
templatesFolderName
-
createPublicFolder
protected boolean createPublicFolder -
publicFolderName
-
extraRootFolderNames
-
lifeCycleMonitor
-
running
protected boolean running
-
-
Constructor Details
-
RootFoldersBootstrapper
public RootFoldersBootstrapper(ContentEngine contentEngine, String topFolderName, String workFolderName, String templatesFolderName, boolean createPublicFolder, String publicFolderName, Collection<String> extraRootFolderNames)
-
-
Method Details
-
getPhase
public int getPhase()- Specified by:
getPhasein interfacePhased- Specified by:
getPhasein interfaceSmartLifecycle
-
stop
public void stop() -
isRunning
public boolean isRunning() -
start
public void start() -
bootstrapRootFolders
protected void bootstrapRootFolders()
-