Class FolderNameParser


  • public class FolderNameParser
    extends Object
    • Field Detail

      • 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 Detail

      • FolderNameParser

        public FolderNameParser​(String rootFolderNamePattern,
                                String workFolderNamePattern,
                                String defaultFolderNamePattern,
                                String defaultCaseFolderNamePattern,
                                String defaultProcessFolderNamePattern,
                                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)
      • replaceVariables

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