Package com.flowable.core.service.form
Class FolderNameParser
- java.lang.Object
-
- com.flowable.core.service.form.FolderNameParser
-
public class FolderNameParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
DEFAULT_FOLDER_NAME_PATTERN
protected static String
DEFAULT_ROOT_FOLDER_NAME
protected static String
DEFAULT_WORK_FOLDER_NAME
protected String
defaultCaseFolderNamePattern
protected String
defaultFolderNamePattern
protected String
defaultProcessFolderNamePattern
protected String
defaultTaskFolderNamePattern
protected static DateTimeFormatter
FOLDER_SUFFIX_FORMATTER
protected String
rootFolderName
protected String
workFolderName
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRootFolderName()
String
getWorkFolderName()
String
parseCaseFolderName(String modelName, String instanceName, Date started)
String
parseProcessFolderName(String modelName, String instanceName, Date startTime)
String
parseTaskFolderName(String modelName, String instanceName, Date createTime)
protected String
replaceVariables(String folderNamePattern, String modelName, String instanceName, Date created)
-
-
-
Field Detail
-
DEFAULT_FOLDER_NAME_PATTERN
protected static final String DEFAULT_FOLDER_NAME_PATTERN
- See Also:
- Constant Field Values
-
DEFAULT_ROOT_FOLDER_NAME
protected static final String DEFAULT_ROOT_FOLDER_NAME
- See Also:
- Constant Field Values
-
DEFAULT_WORK_FOLDER_NAME
protected static final String DEFAULT_WORK_FOLDER_NAME
- See Also:
- Constant Field Values
-
FOLDER_SUFFIX_FORMATTER
protected static final DateTimeFormatter FOLDER_SUFFIX_FORMATTER
-
rootFolderName
protected final String rootFolderName
-
workFolderName
protected final String workFolderName
-
defaultFolderNamePattern
protected final String defaultFolderNamePattern
-
defaultCaseFolderNamePattern
protected final String defaultCaseFolderNamePattern
-
defaultProcessFolderNamePattern
protected final String defaultProcessFolderNamePattern
-
defaultTaskFolderNamePattern
protected final String defaultTaskFolderNamePattern
-
-
Method Detail
-
getRootFolderName
public String getRootFolderName()
-
getWorkFolderName
public String getWorkFolderName()
-
parseCaseFolderName
public String parseCaseFolderName(String modelName, String instanceName, Date started)
-
parseProcessFolderName
public String parseProcessFolderName(String modelName, String instanceName, Date startTime)
-
parseTaskFolderName
public String parseTaskFolderName(String modelName, String instanceName, Date createTime)
-
-