Class RootFoldersBootstrapper
- java.lang.Object
-
- com.flowable.content.spring.bootstrap.RootFoldersBootstrapper
-
- All Implemented Interfaces:
Lifecycle,Phased,SmartLifecycle
public class RootFoldersBootstrapper extends Object implements SmartLifecycle
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentEnginecontentEngineprotected booleancreatePublicFolderprotected Collection<String>extraRootFolderNamesprotected ObjectlifeCycleMonitorprotected StringpublicFolderNameprotected booleanrunningprotected StringtemplatesFolderNameprotected StringtopFolderNameprotected StringworkFolderName-
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
-
Constructor Summary
Constructors Constructor Description RootFoldersBootstrapper(ContentEngine contentEngine, String topFolderName, String workFolderName, String templatesFolderName, boolean createPublicFolder, String publicFolderName, Collection<String> extraRootFolderNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbootstrapRootFolders()intgetPhase()booleanisRunning()voidstart()voidstop()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.context.SmartLifecycle
isAutoStartup, stop
-
-
-
-
Field Detail
-
contentEngine
protected ContentEngine contentEngine
-
topFolderName
protected String topFolderName
-
workFolderName
protected String workFolderName
-
templatesFolderName
protected String templatesFolderName
-
createPublicFolder
protected boolean createPublicFolder
-
publicFolderName
protected String publicFolderName
-
extraRootFolderNames
protected Collection<String> extraRootFolderNames
-
lifeCycleMonitor
protected final Object lifeCycleMonitor
-
running
protected boolean running
-
-
Constructor Detail
-
RootFoldersBootstrapper
public RootFoldersBootstrapper(ContentEngine contentEngine, String topFolderName, String workFolderName, String templatesFolderName, boolean createPublicFolder, String publicFolderName, Collection<String> extraRootFolderNames)
-
-
Method Detail
-
getPhase
public int getPhase()
- Specified by:
getPhasein interfacePhased- Specified by:
getPhasein interfaceSmartLifecycle
-
bootstrapRootFolders
protected void bootstrapRootFolders()
-
-