Class FolderNameParser

java.lang.Object
com.flowable.core.service.form.FolderNameParser

public class FolderNameParser extends Object
  • Field Details

    • DEFAULT_FOLDER_NAME_PATTERN

      protected static final String DEFAULT_FOLDER_NAME_PATTERN
      See Also:
    • DEFAULT_ROOT_FOLDER_NAME

      protected static final String DEFAULT_ROOT_FOLDER_NAME
      See Also:
    • DEFAULT_WORK_FOLDER_NAME

      protected static final String DEFAULT_WORK_FOLDER_NAME
      See Also:
    • 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
  • Constructor Details

    • FolderNameParser

      public FolderNameParser(String rootFolderNamePattern, String workFolderNamePattern, String defaultFolderNamePattern, String defaultCaseFolderNamePattern, String defaultProcessFolderNamePattern, String defaultTaskFolderNamePattern)
  • Method Details

    • 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)
    • replaceVariables

      protected String replaceVariables(String folderNamePattern, String modelName, String instanceName, Date created)