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 ContentEngine
contentEngine
protected boolean
createPublicFolder
protected Collection<String>
extraRootFolderNames
protected Object
lifeCycleMonitor
protected String
publicFolderName
protected boolean
running
protected String
templatesFolderName
protected String
topFolderName
protected String
workFolderName
-
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 void
bootstrapRootFolders()
int
getPhase()
boolean
isRunning()
void
start()
void
stop()
-
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:
getPhase
in interfacePhased
- Specified by:
getPhase
in interfaceSmartLifecycle
-
bootstrapRootFolders
protected void bootstrapRootFolders()
-
-