diff --git a/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelectionData.ivyClass b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelectionData.ivyClass
new file mode 100644
index 00000000..8f987cef
--- /dev/null
+++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelectionData.ivyClass
@@ -0,0 +1,6 @@
+InspectorSelectionData #class
+com.axonivy.utils.process.inspector.demo.component.InspectorSelection #namespace
+processInspectorBean com.axonivy.utils.process.inspector.demo.ProcessInspectorBean #field
+processInspectorBean PERSISTENT #fieldModifier
+event javax.faces.event.AjaxBehaviorEvent #field
+event PERSISTENT #fieldModifier
diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelectionProcess.p.json b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelectionProcess.p.json
similarity index 79%
rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelectionProcess.p.json
rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelectionProcess.p.json
index 50a7ad8e..15602a90 100644
--- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelectionProcess.p.json
+++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelectionProcess.p.json
@@ -3,20 +3,20 @@
"id" : "18E1C085F4D4C0F7",
"kind" : "HTML_DIALOG",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.demo.component.AnalyzerSelection.AnalyzerSelectionData"
+ "data" : "com.axonivy.utils.process.inspector.demo.component.InspectorSelection.InspectorSelectionData"
},
"elements" : [ {
"id" : "f0",
"type" : "HtmlDialogStart",
- "name" : "start(ProcessAnalyzerBean)",
+ "name" : "start(ProcessInspectorBean)",
"config" : {
"signature" : "start",
"input" : {
"params" : [
- { "name" : "processAnalyzerBean", "type" : "com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean", "desc" : "" }
+ { "name" : "processInspectorBean", "type" : "com.axonivy.utils.process.inspector.demo.ProcessInspectorBean", "desc" : "" }
],
"map" : {
- "out.processAnalyzerBean" : "param.processAnalyzerBean"
+ "out.processInspectorBean" : "param.processInspectorBean"
}
},
"guid" : "18E1C085F4DDCE95"
@@ -73,8 +73,8 @@
"config" : {
"output" : {
"code" : [
- "if(in.processAnalyzerBean.selectedAnalyzer is initialized) {",
- " in.processAnalyzerBean.selectedAnalyzer.elements = in.processAnalyzerBean.getAllTaskModifier();",
+ "if(in.processInspectorBean.selectedAnalyzer is initialized) {",
+ " in.processInspectorBean.selectedAnalyzer.elements = in.processInspectorBean.getAllTaskModifier();",
"}"
]
}
@@ -111,8 +111,8 @@
"config" : {
"output" : {
"code" : [
- "in.processAnalyzerBean.selectedAnalyzer.tasks = in.processAnalyzerBean.getDetectedTask();",
- "in.processAnalyzerBean.selectedAnalyzer.totalDuration = in.processAnalyzerBean.getDetectedTaskCalculate();"
+ "in.processInspectorBean.selectedAnalyzer.tasks = in.processInspectorBean.getDetectedTask();",
+ "in.processInspectorBean.selectedAnalyzer.totalDuration = in.processInspectorBean.getDetectedTaskCalculate();"
]
},
"sudo" : true
@@ -141,7 +141,7 @@
"name" : "select process override",
"config" : {
"output" : {
- "code" : "in.processAnalyzerBean.onSelectSequenceFlow(in.event);"
+ "code" : "in.processInspectorBean.onSelectSequenceFlow(in.event);"
}
},
"visual" : {
@@ -193,8 +193,8 @@
"config" : {
"output" : {
"code" : [
- "in.processAnalyzerBean.selectedAnalyzer.alternatives = in.processAnalyzerBean.getALternativeWithMoreThanOneOutgoing();",
- "in.processAnalyzerBean.selectedAnalyzer.processPath = in.processAnalyzerBean.getProcessWebLink(in.processAnalyzerBean.selectedAnalyzer.startElement);"
+ "in.processInspectorBean.selectedAnalyzer.alternatives = in.processInspectorBean.getALternativeWithMoreThanOneOutgoing();",
+ "in.processInspectorBean.selectedAnalyzer.processPath = in.processInspectorBean.getProcessWebLink(in.processInspectorBean.selectedAnalyzer.startElement);"
]
}
},
diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/resources/analyzer-selection.css b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/resources/inspector-selection.css
similarity index 100%
rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/resources/analyzer-selection.css
rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/resources/inspector-selection.css
diff --git a/process-analyzer-demo/webContent/layouts/frame-10-full-width.xhtml b/process-inspector-demo/webContent/layouts/frame-10-full-width.xhtml
similarity index 100%
rename from process-analyzer-demo/webContent/layouts/frame-10-full-width.xhtml
rename to process-inspector-demo/webContent/layouts/frame-10-full-width.xhtml
diff --git a/process-analyzer-demo/webContent/layouts/includes/exception-details.xhtml b/process-inspector-demo/webContent/layouts/includes/exception-details.xhtml
similarity index 100%
rename from process-analyzer-demo/webContent/layouts/includes/exception-details.xhtml
rename to process-inspector-demo/webContent/layouts/includes/exception-details.xhtml
diff --git a/process-analyzer-demo/webContent/layouts/includes/exception.xhtml b/process-inspector-demo/webContent/layouts/includes/exception.xhtml
similarity index 100%
rename from process-analyzer-demo/webContent/layouts/includes/exception.xhtml
rename to process-inspector-demo/webContent/layouts/includes/exception.xhtml
diff --git a/process-analyzer-demo/webContent/layouts/includes/footer.xhtml b/process-inspector-demo/webContent/layouts/includes/footer.xhtml
similarity index 100%
rename from process-analyzer-demo/webContent/layouts/includes/footer.xhtml
rename to process-inspector-demo/webContent/layouts/includes/footer.xhtml
diff --git a/process-analyzer-demo/webContent/layouts/includes/progress-loader.xhtml b/process-inspector-demo/webContent/layouts/includes/progress-loader.xhtml
similarity index 100%
rename from process-analyzer-demo/webContent/layouts/includes/progress-loader.xhtml
rename to process-inspector-demo/webContent/layouts/includes/progress-loader.xhtml
diff --git a/process-analyzer-demo/webContent/resources/css/demo.css b/process-inspector-demo/webContent/resources/css/demo.css
similarity index 100%
rename from process-analyzer-demo/webContent/resources/css/demo.css
rename to process-inspector-demo/webContent/resources/css/demo.css
diff --git a/process-analyzer-product/.project b/process-inspector-product/.project
similarity index 89%
rename from process-analyzer-product/.project
rename to process-inspector-product/.project
index 3041fc16..8efbaae1 100644
--- a/process-analyzer-product/.project
+++ b/process-inspector-product/.project
@@ -1,6 +1,6 @@
- process-analyzer-product
+ process-inspector-product
diff --git a/process-analyzer-product/.settings/org.eclipse.core.resources.prefs b/process-inspector-product/.settings/org.eclipse.core.resources.prefs
similarity index 100%
rename from process-analyzer-product/.settings/org.eclipse.core.resources.prefs
rename to process-inspector-product/.settings/org.eclipse.core.resources.prefs
diff --git a/process-analyzer-product/.settings/org.eclipse.m2e.core.prefs b/process-inspector-product/.settings/org.eclipse.m2e.core.prefs
similarity index 100%
rename from process-analyzer-product/.settings/org.eclipse.m2e.core.prefs
rename to process-inspector-product/.settings/org.eclipse.m2e.core.prefs
diff --git a/process-analyzer-product/README.md b/process-inspector-product/README.md
similarity index 79%
rename from process-analyzer-product/README.md
rename to process-inspector-product/README.md
index 7f107720..4d41f405 100644
--- a/process-analyzer-product/README.md
+++ b/process-inspector-product/README.md
@@ -1,6 +1,6 @@
-# Advanced Process Analyzer
+# Process Inspector
-Axon Ivy’s Advanced Process Analyzer tool helps you to calculate duration to finish a workflow case. Key features:
+Axon Ivy’s Process Inspector tool helps you to calculate duration to finish a workflow case. Key features:
- Configure needed information directly in the process model
- Default duration of a task for multiple use cases. Each task can have multiple named default durations.
@@ -19,17 +19,17 @@ In the project, you only add the dependency in your pom.xml and call public APIs
**1. Add dependency**
```XML
- com.axonivy.utils.process.analyzer
- process-analyzer
- ${process.analyzer.version}
+ com.axonivy.utils.process.inspector
+ process-inspector
+ ${process.inspector.version}
```
-**2. Call the constructor to set some basic information. Each instance of the advanced process analyzer should care about one specific process model. This way we can store some private information (e.g. simplified model) in the instance and reuse it for different calculations on this object.**
+**2. Call the constructor to set some basic information. Each instance of the process inspector should care about one specific process model. This way we can store some private information (e.g. simplified model) in the instance and reuse it for different calculations on this object.**
```java
/**
* @param process - The process that should be analyzed.
*/
- public AdvancedProcessAnalyzer(Process process)
+ public AdvancedProcessInspector(Process process)
```
**3. You can custom the process flow or task duration**
```java
@@ -40,7 +40,7 @@ In the project, you only add the dependency in your pom.xml and call public APIs
* value: chosen output PID
* @return
*/
- public AdvancedProcessAnalyzer setProcessFlowOverrides(HashMap processFlowOverrides)
+ public ProcessInspector setProcessFlowOverrides(HashMap processFlowOverrides)
/**
* This method can be used to override configured task duration of the model by own values.
@@ -49,11 +49,11 @@ In the project, you only add the dependency in your pom.xml and call public APIs
* value: new duration
* @return
*/
- public AdvancedProcessAnalyzer setDurationOverrides(HashMap durationOverrides)
+ public ProcessInspector setDurationOverrides(HashMap durationOverrides)
/**
* Disabled by default.
- * If this option is enabled, the Advanced Process Analyzer will also add all alternative elements to the result.
+ * If this option is enabled, the Process Inspector will also add all alternative elements to the result.
* This option will affect findTasksOnPath as well as findAllTasks method. Both methods will traverse the process as usual.
* When it bypasses an alternative element, it will be added to the result list.
*/
@@ -110,13 +110,13 @@ In the project, you only add the dependency in your pom.xml and call public APIs
### Example
- Now we will practice How to analyze the process below with some scenarios.
- ![workflow-estimator-demo](images/exampleWorkflow.png)
+ ![process-inspector-demo](images/exampleWorkflow.png)
**1. How to analyze the workflow base on the flow name {external} with use case BIGPROJECT?**
```java
- // We create a new process analyzer with UseCase.BIGPROJECT and flowName is "external"
- var processAnalyzer = new AdvancedProcessAnalyzer(process);
- public List detectedTasks = processAnalyzer.findTasksOnPath(start, UseCase.BIGPROJECT, "external");
+ // We create a new process inspector with UseCase.BIGPROJECT and flowName is "external"
+ var processInspector = new AdvancedProcessInspector(process);
+ public List detectedTasks = processInspector.findTasksOnPath(start, UseCase.BIGPROJECT, "external");
// The result is list of task on path: Task A -> Task D -> Task1A -> Task K -> Task1B -> Task G -> Task F
// At the alternative, the path taken is base on the flow name or default path (the condition is empty)
@@ -127,13 +127,13 @@ In the project, you only add the dependency in your pom.xml and call public APIs
```java
// We create a new process analyzer with flowName is null.
// Basically, the path taken after alternative will base on default path. But we will override it by setProcessFlowOverrides API
- var processAnalyzer = new AdvancedProcessAnalyzer(process);
+ var processInspector = new AdvancedProcessInspector(process);
var flowOverrides = new HashMap();
flowOverrides.put("18E180A64355D4D9-f4", "18E180A64355D4D9-f13"); //alter1 -> sequence flow {internal}\n{external}\n{mixed}
flowOverrides.put("18E180A64355D4D9-f12", "18E180A64355D4D9-f14"); //int/ext? -> sequence flow {internal}
processAnalyzer.setProcessFlowOverrides(flowOverrides);
- public List detectedTasks = processAnalyzer.findTasksOnPath(start, null, null);
+ public List detectedTasks = processInspector.findTasksOnPath(start, null, null);
// The result is list of task on path: Task A -> Task C
```
@@ -141,9 +141,9 @@ In the project, you only add the dependency in your pom.xml and call public APIs
## Demo
- Select the process and some configuration which need for your analysis
-![workflow-estimator-demo](images/advancedProcessAnalyzerSelectionDemo.png)
+![process-inspector-demo](images/advancedProcessAnalyzerSelectionDemo.png)
- Hit the **Run** button to get the analysis result
-![workflow-estimator-demo](images/advancedProcessAnalyzerResultDemo.png)
+![process-inspector-demo](images/advancedProcessAnalyzerResultDemo.png)
diff --git a/process-analyzer-product/images/advancedProcessAnalyzerResultDemo.png b/process-inspector-product/images/advancedProcessAnalyzerResultDemo.png
similarity index 100%
rename from process-analyzer-product/images/advancedProcessAnalyzerResultDemo.png
rename to process-inspector-product/images/advancedProcessAnalyzerResultDemo.png
diff --git a/process-analyzer-product/images/advancedProcessAnalyzerSelectionDemo.png b/process-inspector-product/images/advancedProcessAnalyzerSelectionDemo.png
similarity index 100%
rename from process-analyzer-product/images/advancedProcessAnalyzerSelectionDemo.png
rename to process-inspector-product/images/advancedProcessAnalyzerSelectionDemo.png
diff --git a/process-analyzer-product/images/exampleWorkflow.png b/process-inspector-product/images/exampleWorkflow.png
similarity index 100%
rename from process-analyzer-product/images/exampleWorkflow.png
rename to process-inspector-product/images/exampleWorkflow.png
diff --git a/process-analyzer-product/pom.xml b/process-inspector-product/pom.xml
similarity index 94%
rename from process-analyzer-product/pom.xml
rename to process-inspector-product/pom.xml
index 49c41618..05aefc06 100644
--- a/process-analyzer-product/pom.xml
+++ b/process-inspector-product/pom.xml
@@ -1,7 +1,7 @@
4.0.0
- com.axonivy.utils.process.analyzer
- process-analyzer-product
+ com.axonivy.utils.process.inspector
+ process-inspector-product
11.2.1-SNAPSHOT
pom
diff --git a/process-analyzer-product/product.json b/process-inspector-product/product.json
similarity index 74%
rename from process-analyzer-product/product.json
rename to process-inspector-product/product.json
index c9a078c0..e74c0d65 100644
--- a/process-analyzer-product/product.json
+++ b/process-inspector-product/product.json
@@ -6,14 +6,14 @@
"data": {
"projects": [
{
- "groupId": "com.axonivy.utils.process.analyzer",
- "artifactId": "process-analyzer-demo",
+ "groupId": "com.axonivy.utils.process.inspector",
+ "artifactId": "process-inspector-demo",
"version": "${version}",
"type": "iar"
},
{
- "groupId": "com.axonivy.utils.process.analyzer",
- "artifactId": "process-analyzer-test",
+ "groupId": "com.axonivy.utils.process.inspector",
+ "artifactId": "process-inspector-test",
"version": "${version}",
"type": "iar"
}
@@ -34,8 +34,8 @@
"data": {
"dependencies": [
{
- "groupId": "com.axonivy.utils.process.analyzer",
- "artifactId": "process-analyzer",
+ "groupId": "com.axonivy.utils.process.inspector",
+ "artifactId": "process-inspector",
"version": "${version}",
"type": "iar"
}
diff --git a/process-analyzer-product/zip.xml b/process-inspector-product/zip.xml
similarity index 100%
rename from process-analyzer-product/zip.xml
rename to process-inspector-product/zip.xml
diff --git a/process-analyzer-test/.classpath b/process-inspector-test/.classpath
similarity index 97%
rename from process-analyzer-test/.classpath
rename to process-inspector-test/.classpath
index 8912ca09..b9799c94 100644
--- a/process-analyzer-test/.classpath
+++ b/process-inspector-test/.classpath
@@ -1,36 +1,36 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/process-analyzer-demo/.gitignore b/process-inspector-test/.gitignore
similarity index 88%
rename from process-analyzer-demo/.gitignore
rename to process-inspector-test/.gitignore
index 9b0d458b..1b2547b2 100644
--- a/process-analyzer-demo/.gitignore
+++ b/process-inspector-test/.gitignore
@@ -1,19 +1,19 @@
-# general
-Thumbs.db
-.DS_Store
-*~
-*.log
-
-# java
-*.class
-hs_err_pid*
-
-# maven
-target/
-lib/mvn-deps/
-
-# ivy
-classes/
-src_dataClasses/
-src_wsproc/
-logs/
+# general
+Thumbs.db
+.DS_Store
+*~
+*.log
+
+# java
+*.class
+hs_err_pid*
+
+# maven
+target/
+lib/mvn-deps/
+
+# ivy
+classes/
+src_dataClasses/
+src_wsproc/
+logs/
diff --git a/process-analyzer-demo/.project b/process-inspector-test/.project
similarity index 94%
rename from process-analyzer-demo/.project
rename to process-inspector-test/.project
index 2f02baed..48699536 100644
--- a/process-analyzer-demo/.project
+++ b/process-inspector-test/.project
@@ -1,60 +1,60 @@
-
-
- process-analyzer-demo
-
-
-
-
-
- ch.ivyteam.ivy.designer.dataClasses.ui.ivyDataClassBuilder
-
-
-
-
- ch.ivyteam.ivy.designer.process.ui.ivyWebServiceProcessClassBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.wst.common.project.facet.core.builder
-
-
-
-
- ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder
-
-
-
-
- org.eclipse.pde.ManifestBuilder
-
-
-
-
- org.eclipse.pde.SchemaBuilder
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- ch.ivyteam.ivy.project.IvyProjectNature
- org.eclipse.wst.common.modulecore.ModuleCoreNature
- org.eclipse.jem.workbench.JavaEMFNature
- org.eclipse.jdt.core.javanature
- org.eclipse.m2e.core.maven2Nature
- org.eclipse.jem.beaninfo.BeanInfoNature
- org.eclipse.wst.common.project.facet.core.nature
- org.eclipse.wst.jsdt.core.jsNature
- org.eclipse.pde.PluginNature
-
-
+
+
+ process-inspector-test
+
+
+
+
+
+ ch.ivyteam.ivy.designer.dataClasses.ui.ivyDataClassBuilder
+
+
+
+
+ ch.ivyteam.ivy.designer.process.ui.ivyWebServiceProcessClassBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.wst.common.project.facet.core.builder
+
+
+
+
+ ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ ch.ivyteam.ivy.project.IvyProjectNature
+ org.eclipse.wst.common.modulecore.ModuleCoreNature
+ org.eclipse.jem.workbench.JavaEMFNature
+ org.eclipse.jdt.core.javanature
+ org.eclipse.m2e.core.maven2Nature
+ org.eclipse.jem.beaninfo.BeanInfoNature
+ org.eclipse.wst.common.project.facet.core.nature
+ org.eclipse.wst.jsdt.core.jsNature
+ org.eclipse.pde.PluginNature
+
+
diff --git a/process-analyzer/.settings/.jsdtscope b/process-inspector-test/.settings/.jsdtscope
similarity index 97%
rename from process-analyzer/.settings/.jsdtscope
rename to process-inspector-test/.settings/.jsdtscope
index 869c01da..cf5ec79e 100644
--- a/process-analyzer/.settings/.jsdtscope
+++ b/process-inspector-test/.settings/.jsdtscope
@@ -1,12 +1,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/process-analyzer-test/.settings/ch.ivyteam.ivy.designer.prefs b/process-inspector-test/.settings/ch.ivyteam.ivy.designer.prefs
similarity index 69%
rename from process-analyzer-test/.settings/ch.ivyteam.ivy.designer.prefs
rename to process-inspector-test/.settings/ch.ivyteam.ivy.designer.prefs
index 3851e65e..357eddae 100644
--- a/process-analyzer-test/.settings/ch.ivyteam.ivy.designer.prefs
+++ b/process-inspector-test/.settings/ch.ivyteam.ivy.designer.prefs
@@ -1,5 +1,5 @@
-ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.estimator.test.Data
-ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.estimator.test
-ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
-ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=112000
-eclipse.preferences.version=1
+ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.process.inspector.test.Data
+ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.process.inspector.test
+ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
+ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=112000
+eclipse.preferences.version=1
diff --git a/process-analyzer-demo/.settings/org.eclipse.jdt.core.prefs b/process-inspector-test/.settings/org.eclipse.jdt.core.prefs
similarity index 98%
rename from process-analyzer-demo/.settings/org.eclipse.jdt.core.prefs
rename to process-inspector-test/.settings/org.eclipse.jdt.core.prefs
index d4540a53..f78f7f77 100644
--- a/process-analyzer-demo/.settings/org.eclipse.jdt.core.prefs
+++ b/process-inspector-test/.settings/org.eclipse.jdt.core.prefs
@@ -1,10 +1,10 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
-org.eclipse.jdt.core.compiler.compliance=17
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.release=enabled
-org.eclipse.jdt.core.compiler.source=17
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.compliance=17
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=17
diff --git a/process-analyzer-demo/.settings/org.eclipse.wst.common.component b/process-inspector-test/.settings/org.eclipse.wst.common.component
similarity index 63%
rename from process-analyzer-demo/.settings/org.eclipse.wst.common.component
rename to process-inspector-test/.settings/org.eclipse.wst.common.component
index 8bb5f853..bc5693aa 100644
--- a/process-analyzer-demo/.settings/org.eclipse.wst.common.component
+++ b/process-inspector-test/.settings/org.eclipse.wst.common.component
@@ -1,18 +1,20 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/process-analyzer-test/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml b/process-inspector-test/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
similarity index 95%
rename from process-analyzer-test/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
rename to process-inspector-test/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
index 9b4b9fcf..0d46547f 100644
--- a/process-analyzer-test/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
+++ b/process-inspector-test/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
@@ -1,7 +1,7 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/process-analyzer-test/.settings/org.eclipse.wst.common.project.facet.core.xml b/process-inspector-test/.settings/org.eclipse.wst.common.project.facet.core.xml
similarity index 97%
rename from process-analyzer-test/.settings/org.eclipse.wst.common.project.facet.core.xml
rename to process-inspector-test/.settings/org.eclipse.wst.common.project.facet.core.xml
index 156ecdbe..c2098f9c 100644
--- a/process-analyzer-test/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ b/process-inspector-test/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,8 +1,8 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/process-analyzer-demo/.settings/org.eclipse.wst.css.core.prefs b/process-inspector-test/.settings/org.eclipse.wst.css.core.prefs
similarity index 97%
rename from process-analyzer-demo/.settings/org.eclipse.wst.css.core.prefs
rename to process-inspector-test/.settings/org.eclipse.wst.css.core.prefs
index 5ddc6bd5..96b96cde 100644
--- a/process-analyzer-demo/.settings/org.eclipse.wst.css.core.prefs
+++ b/process-inspector-test/.settings/org.eclipse.wst.css.core.prefs
@@ -1,2 +1,2 @@
-css-profile/=org.eclipse.wst.css.core.cssprofile.css3
-eclipse.preferences.version=1
+css-profile/=org.eclipse.wst.css.core.cssprofile.css3
+eclipse.preferences.version=1
diff --git a/process-analyzer-test/.settings/org.eclipse.wst.jsdt.ui.superType.container b/process-inspector-test/.settings/org.eclipse.wst.jsdt.ui.superType.container
similarity index 100%
rename from process-analyzer-test/.settings/org.eclipse.wst.jsdt.ui.superType.container
rename to process-inspector-test/.settings/org.eclipse.wst.jsdt.ui.superType.container
diff --git a/process-analyzer-test/.settings/org.eclipse.wst.jsdt.ui.superType.name b/process-inspector-test/.settings/org.eclipse.wst.jsdt.ui.superType.name
similarity index 100%
rename from process-analyzer-test/.settings/org.eclipse.wst.jsdt.ui.superType.name
rename to process-inspector-test/.settings/org.eclipse.wst.jsdt.ui.superType.name
diff --git a/process-analyzer-test/META-INF/MANIFEST.MF b/process-inspector-test/META-INF/MANIFEST.MF
similarity index 51%
rename from process-analyzer-test/META-INF/MANIFEST.MF
rename to process-inspector-test/META-INF/MANIFEST.MF
index 8c554a19..d26fbbae 100644
--- a/process-analyzer-test/META-INF/MANIFEST.MF
+++ b/process-inspector-test/META-INF/MANIFEST.MF
@@ -1,9 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: workflow-estimator-test
-Bundle-SymbolicName: process-analyzer-test
+Bundle-Name: process-inspector-test
+Bundle-SymbolicName: process-inspector-test
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-17
-Automatic-Module-Name: workflow.estimator.test
-Export-Package: com.axonivy.utils.process.analyzer.test
+Automatic-Module-Name: process.inspector.test
+Export-Package: com.axonivy.utils.process.inspector.test
Require-Bundle: ch.ivyteam.ivy.process.rdm;bundle-version="11.2.1"
diff --git a/process-analyzer/build.properties b/process-inspector-test/build.properties
similarity index 95%
rename from process-analyzer/build.properties
rename to process-inspector-test/build.properties
index 8dc25c4f..54c38485 100644
--- a/process-analyzer/build.properties
+++ b/process-inspector-test/build.properties
@@ -1,5 +1,5 @@
-source.. = src/,\
- src_wsproc/,\
- src_dataClasses/
-bin.includes = META-INF/,\
- .
+source.. = src/,\
+ src_wsproc/,\
+ src_dataClasses/
+bin.includes = META-INF/,\
+ .
diff --git a/process-analyzer-test/config/custom-fields.yaml b/process-inspector-test/config/custom-fields.yaml
similarity index 100%
rename from process-analyzer-test/config/custom-fields.yaml
rename to process-inspector-test/config/custom-fields.yaml
diff --git a/process-analyzer-test/config/databases.yaml b/process-inspector-test/config/databases.yaml
similarity index 100%
rename from process-analyzer-test/config/databases.yaml
rename to process-inspector-test/config/databases.yaml
diff --git a/process-analyzer-test/config/overrides.any b/process-inspector-test/config/overrides.any
similarity index 100%
rename from process-analyzer-test/config/overrides.any
rename to process-inspector-test/config/overrides.any
diff --git a/process-analyzer-test/config/persistence.xml b/process-inspector-test/config/persistence.xml
similarity index 100%
rename from process-analyzer-test/config/persistence.xml
rename to process-inspector-test/config/persistence.xml
diff --git a/process-analyzer-test/config/rest-clients.yaml b/process-inspector-test/config/rest-clients.yaml
similarity index 100%
rename from process-analyzer-test/config/rest-clients.yaml
rename to process-inspector-test/config/rest-clients.yaml
diff --git a/process-analyzer-test/config/roles.xml b/process-inspector-test/config/roles.xml
similarity index 100%
rename from process-analyzer-test/config/roles.xml
rename to process-inspector-test/config/roles.xml
diff --git a/process-analyzer-test/config/users.xml b/process-inspector-test/config/users.xml
similarity index 100%
rename from process-analyzer-test/config/users.xml
rename to process-inspector-test/config/users.xml
diff --git a/process-analyzer-test/config/variables.yaml b/process-inspector-test/config/variables.yaml
similarity index 100%
rename from process-analyzer-test/config/variables.yaml
rename to process-inspector-test/config/variables.yaml
diff --git a/process-analyzer-test/config/webservice-clients.yaml b/process-inspector-test/config/webservice-clients.yaml
similarity index 100%
rename from process-analyzer-test/config/webservice-clients.yaml
rename to process-inspector-test/config/webservice-clients.yaml
diff --git a/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/Data.ivyClass b/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/Data.ivyClass
new file mode 100644
index 00000000..45f9ee10
--- /dev/null
+++ b/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/Data.ivyClass
@@ -0,0 +1,2 @@
+Data #class
+com.axonivy.utils.process.inspector.test #namespace
diff --git a/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowMixedSubProcessData.ivyClass b/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowMixedSubProcessData.ivyClass
new file mode 100644
index 00000000..e1fade61
--- /dev/null
+++ b/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowMixedSubProcessData.ivyClass
@@ -0,0 +1,2 @@
+FlowMixedSubProcessData #class
+com.axonivy.utils.process.inspector.test #namespace
diff --git a/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowSubProcessCall2Data.ivyClass b/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowSubProcessCall2Data.ivyClass
new file mode 100644
index 00000000..78aa6648
--- /dev/null
+++ b/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowSubProcessCall2Data.ivyClass
@@ -0,0 +1,2 @@
+FlowSubProcessCall2Data #class
+com.axonivy.utils.process.inspector.test #namespace
diff --git a/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowTriggerCallData.ivyClass b/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowTriggerCallData.ivyClass
new file mode 100644
index 00000000..b8d701a4
--- /dev/null
+++ b/process-inspector-test/dataclasses/com/axonivy/utils/process/inspector/test/FlowTriggerCallData.ivyClass
@@ -0,0 +1,2 @@
+FlowTriggerCallData #class
+com.axonivy.utils.process.inspector.test #namespace
diff --git a/process-analyzer-test/pom.xml b/process-inspector-test/pom.xml
similarity index 72%
rename from process-analyzer-test/pom.xml
rename to process-inspector-test/pom.xml
index 06c9feba..31f58cbc 100644
--- a/process-analyzer-test/pom.xml
+++ b/process-inspector-test/pom.xml
@@ -1,17 +1,18 @@
-
- 4.0.0
- com.axonivy.utils.process.analyzer
- process-analyzer-test
- 11.2.1-SNAPSHOT
- iar
-
+
+ 4.0.0
+ com.axonivy.utils.process.inspector
+ process-inspector-test
+ 11.2.1-SNAPSHOT
+ iar
+
11.2.0
- com.axonivy.utils.process.analyzer
- process-analyzer
+ com.axonivy.utils.process.inspector
+ process-inspector
${project.version}
diff --git a/process-analyzer-test/processes/FlowExampleBasic.p.json b/process-inspector-test/processes/FlowExampleBasic.p.json
similarity index 89%
rename from process-analyzer-test/processes/FlowExampleBasic.p.json
rename to process-inspector-test/processes/FlowExampleBasic.p.json
index 7867a909..b0ff0d5f 100644
--- a/process-analyzer-test/processes/FlowExampleBasic.p.json
+++ b/process-inspector-test/processes/FlowExampleBasic.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18DC44E096FDFF75",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -28,12 +28,12 @@
"type" : "UserTask",
"name" : "Task A",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task A",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -75,13 +75,13 @@
"type" : "UserTask",
"name" : "Task B",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task B",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(6,TimeUnit.HOURS,UseCase.BIGPROJECT);",
"APAConfig.setCustomInfo(\"abc\");"
@@ -123,12 +123,12 @@
"type" : "UserTask",
"name" : "Task C",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task C",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(4,TimeUnit.HOURS,UseCase.BIGPROJECT);",
diff --git a/process-analyzer-test/processes/FlowExampleCommon.p.json b/process-inspector-test/processes/FlowExampleCommon.p.json
similarity index 85%
rename from process-analyzer-test/processes/FlowExampleCommon.p.json
rename to process-inspector-test/processes/FlowExampleCommon.p.json
index 0725a996..91616441 100644
--- a/process-analyzer-test/processes/FlowExampleCommon.p.json
+++ b/process-inspector-test/processes/FlowExampleCommon.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18E07978E73830FA",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -28,7 +28,7 @@
"type" : "UserTask",
"name" : "TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskA"
}
diff --git a/process-analyzer-test/processes/FlowExampleComplex.p.json b/process-inspector-test/processes/FlowExampleComplex.p.json
similarity index 84%
rename from process-analyzer-test/processes/FlowExampleComplex.p.json
rename to process-inspector-test/processes/FlowExampleComplex.p.json
index 18946600..88e043aa 100644
--- a/process-analyzer-test/processes/FlowExampleComplex.p.json
+++ b/process-inspector-test/processes/FlowExampleComplex.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18DF31B990019995",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -31,13 +31,13 @@
"(Element Label)"
],
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task A",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -75,13 +75,13 @@
"type" : "UserTask",
"name" : "Task B",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task B",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(6,TimeUnit.HOURS,UseCase.BIGPROJECT);",
"APAConfig.setCustomInfo(\"abc\");"
@@ -123,13 +123,13 @@
"type" : "UserTask",
"name" : "Task C",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task C",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(4,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -200,13 +200,13 @@
"type" : "UserTask",
"name" : "Task D",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task D",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -223,13 +223,13 @@
"type" : "UserTask",
"name" : "Task E",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task E",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(6,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -291,13 +291,13 @@
"type" : "UserTask",
"name" : "Task F",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task F",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(2,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -314,13 +314,13 @@
"type" : "UserTask",
"name" : "Task H",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task H",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -343,13 +343,13 @@
"type" : "UserTask",
"name" : "Task G",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task G",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(1,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -384,7 +384,7 @@
"type" : "UserTask",
"name" : "Task K",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task K"
}
diff --git a/process-analyzer-test/processes/FlowExampleError.p.json b/process-inspector-test/processes/FlowExampleError.p.json
similarity index 90%
rename from process-analyzer-test/processes/FlowExampleError.p.json
rename to process-inspector-test/processes/FlowExampleError.p.json
index 2cfb613f..d98ba422 100644
--- a/process-analyzer-test/processes/FlowExampleError.p.json
+++ b/process-inspector-test/processes/FlowExampleError.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18DD16F8AA39F5DE",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -28,7 +28,7 @@
"type" : "UserTask",
"name" : "Task A",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task A"
}
@@ -64,7 +64,7 @@
"type" : "UserTask",
"name" : "Task B",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()"
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()"
},
"visual" : {
"at" : { "x" : 552, "y" : 184 }
@@ -124,7 +124,7 @@
"id" : "f15",
"type" : "UserTask",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()"
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()"
},
"visual" : {
"at" : { "x" : 528, "y" : 392 }
@@ -157,7 +157,7 @@
"id" : "f20",
"type" : "UserTask",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()"
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()"
},
"visual" : {
"at" : { "x" : 528, "y" : 496 }
@@ -193,7 +193,7 @@
"id" : "f28",
"type" : "UserTask",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()"
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()"
},
"visual" : {
"at" : { "x" : 400, "y" : 688 }
@@ -205,7 +205,7 @@
"id" : "f30",
"type" : "UserTask",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()"
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()"
},
"visual" : {
"at" : { "x" : 400, "y" : 576 }
diff --git a/process-analyzer-test/processes/FlowExampleLoop.p.json b/process-inspector-test/processes/FlowExampleLoop.p.json
similarity index 92%
rename from process-analyzer-test/processes/FlowExampleLoop.p.json
rename to process-inspector-test/processes/FlowExampleLoop.p.json
index 1e5c11b8..a5f6e3b1 100644
--- a/process-analyzer-test/processes/FlowExampleLoop.p.json
+++ b/process-inspector-test/processes/FlowExampleLoop.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18DD17872B3D53E2",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -28,7 +28,7 @@
"type" : "UserTask",
"name" : "Task A",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task A"
}
@@ -74,7 +74,7 @@
"type" : "UserTask",
"name" : "Task B",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task B"
}
diff --git a/process-analyzer-test/processes/FlowMixedSubProcess.p.json b/process-inspector-test/processes/FlowMixedSubProcess.p.json
similarity index 84%
rename from process-analyzer-test/processes/FlowMixedSubProcess.p.json
rename to process-inspector-test/processes/FlowMixedSubProcess.p.json
index 3642601d..90e179b7 100644
--- a/process-analyzer-test/processes/FlowMixedSubProcess.p.json
+++ b/process-inspector-test/processes/FlowMixedSubProcess.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "1902A31FF5BCFF03",
"config" : {
- "data" : "com.axonivy.utils.estimator.test.FlowMixedSubProcessData"
+ "data" : "com.axonivy.utils.process.inspector.test.FlowMixedSubProcessData"
},
"elements" : [ {
"id" : "f0",
@@ -72,13 +72,13 @@
"type" : "UserTask",
"name" : "SubA-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubA-TaskA",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -142,13 +142,13 @@
"type" : "UserTask",
"name" : "SubA-TaskB",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubA-TaskB",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(6,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -171,13 +171,13 @@
"type" : "UserTask",
"name" : "SubA-TaskC",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubA-TaskC",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -251,13 +251,13 @@
"type" : "UserTask",
"name" : "SubB-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubB-TaskA",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -366,13 +366,13 @@
"type" : "UserTask",
"name" : "SubC-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubC-TaskA",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -435,13 +435,13 @@
"type" : "UserTask",
"name" : "SubD-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubD-TaskA",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -510,13 +510,13 @@
"type" : "UserTask",
"name" : "SubD-TaskB",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubD-TaskB",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(3,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -533,13 +533,13 @@
"type" : "UserTask",
"name" : "SubD-TaskD",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"call" : {
"map" : { },
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -559,13 +559,13 @@
"type" : "UserTask",
"name" : "SubD-TaskC",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubD-TaskC",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(4,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -595,13 +595,13 @@
"type" : "UserTask",
"name" : "TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskA",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
diff --git a/process-analyzer-test/processes/FlowParallelInOrder.p.json b/process-inspector-test/processes/FlowParallelInOrder.p.json
similarity index 88%
rename from process-analyzer-test/processes/FlowParallelInOrder.p.json
rename to process-inspector-test/processes/FlowParallelInOrder.p.json
index a825331c..ba33259c 100644
--- a/process-analyzer-test/processes/FlowParallelInOrder.p.json
+++ b/process-inspector-test/processes/FlowParallelInOrder.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18E3BEFFB97FCA4D",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -32,8 +32,8 @@
"id" : "TaskA",
"name" : "Task 1A",
"code" : [
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(1,TimeUnit.HOURS,UseCase.SMALLPROJECT);"
@@ -42,8 +42,8 @@
"id" : "TaskB",
"name" : "Task 1B",
"code" : [
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(2,TimeUnit.HOURS,UseCase.SMALLPROJECT);"
@@ -63,12 +63,12 @@
"type" : "UserTask",
"name" : "Task A",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task A",
"code" : [
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -87,12 +87,12 @@
"type" : "UserTask",
"name" : "Task B",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task B",
"code" : [
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(4,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -111,12 +111,12 @@
"type" : "UserTask",
"name" : "Task C",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task C",
"code" : [
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -154,7 +154,7 @@
"type" : "UserTask",
"name" : "Task D",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task D"
}
@@ -204,7 +204,7 @@
"type" : "UserTask",
"name" : "Task A3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task A3"
}
@@ -220,7 +220,7 @@
"type" : "UserTask",
"name" : "Task B3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task B3"
}
@@ -261,7 +261,7 @@
"type" : "UserTask",
"name" : "Task D3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task D3"
}
@@ -277,7 +277,7 @@
"type" : "UserTask",
"name" : "Task C3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task C3"
}
@@ -316,7 +316,7 @@
"type" : "UserTask",
"name" : "Task E3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task E3"
}
@@ -352,7 +352,7 @@
"type" : "UserTask",
"name" : "Task F3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task F3"
}
@@ -368,7 +368,7 @@
"type" : "UserTask",
"name" : "Task K3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task K3"
}
@@ -384,7 +384,7 @@
"type" : "UserTask",
"name" : "Task I3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task I3"
}
@@ -427,7 +427,7 @@
"type" : "UserTask",
"name" : "Task G3",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task G3"
}
@@ -475,7 +475,7 @@
"type" : "UserTask",
"name" : "TaskA2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskA2"
}
@@ -491,7 +491,7 @@
"type" : "UserTask",
"name" : "TaskB2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskB2"
}
@@ -528,7 +528,7 @@
"type" : "UserTask",
"name" : "TaskC2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskC2"
}
@@ -544,7 +544,7 @@
"type" : "UserTask",
"name" : "TaskD2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskD2"
}
@@ -619,7 +619,7 @@
"type" : "UserTask",
"name" : "TaskE2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskE2"
}
@@ -635,7 +635,7 @@
"type" : "UserTask",
"name" : "TaskF2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskF2"
}
@@ -651,7 +651,7 @@
"type" : "UserTask",
"name" : "TaskG2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskG2"
}
@@ -684,7 +684,7 @@
"type" : "UserTask",
"name" : "TaskJ2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskJ2"
}
@@ -706,7 +706,7 @@
"type" : "UserTask",
"name" : "TaskI2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskI2"
}
@@ -739,7 +739,7 @@
"type" : "UserTask",
"name" : "TaskK2",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskK2"
}
@@ -793,7 +793,7 @@
"type" : "UserTask",
"name" : "TaskA5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskA5"
}
@@ -809,7 +809,7 @@
"type" : "UserTask",
"name" : "TaskB5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskB5"
}
@@ -850,7 +850,7 @@
"type" : "UserTask",
"name" : "TaskC5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskC5"
}
@@ -866,7 +866,7 @@
"type" : "UserTask",
"name" : "TaskD5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskD5"
}
@@ -901,7 +901,7 @@
"type" : "UserTask",
"name" : "TaskE5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskE5"
}
@@ -951,7 +951,7 @@
"type" : "UserTask",
"name" : "TaskF5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskF5"
}
@@ -986,7 +986,7 @@
"type" : "UserTask",
"name" : "TaskI5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskI5"
}
@@ -1011,7 +1011,7 @@
"type" : "UserTask",
"name" : "TaskJ5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskJ5"
}
@@ -1033,7 +1033,7 @@
"type" : "UserTask",
"name" : "TaskG5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskG5"
}
@@ -1049,7 +1049,7 @@
"type" : "UserTask",
"name" : "TaskH5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskH5"
}
diff --git a/process-analyzer-test/processes/FlowSubProcessCall.p.json b/process-inspector-test/processes/FlowSubProcessCall.p.json
similarity index 78%
rename from process-analyzer-test/processes/FlowSubProcessCall.p.json
rename to process-inspector-test/processes/FlowSubProcessCall.p.json
index d34c5770..7c197716 100644
--- a/process-analyzer-test/processes/FlowSubProcessCall.p.json
+++ b/process-inspector-test/processes/FlowSubProcessCall.p.json
@@ -3,7 +3,7 @@
"id" : "18EEB810DDACA1D0",
"kind" : "CALLABLE_SUB",
"config" : {
- "data" : "com.axonivy.utils.estimator.test.FlowSubProcessCall2Data"
+ "data" : "com.axonivy.utils.process.inspector.test.FlowSubProcessCall2Data"
},
"elements" : [ {
"id" : "f0",
@@ -29,13 +29,13 @@
"type" : "UserTask",
"name" : "TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskA",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"",
"",
"APAConfig.setCustomInfo(\"Custom info A\");",
diff --git a/process-analyzer-test/processes/FlowSubprocess.p.json b/process-inspector-test/processes/FlowSubprocess.p.json
similarity index 89%
rename from process-analyzer-test/processes/FlowSubprocess.p.json
rename to process-inspector-test/processes/FlowSubprocess.p.json
index 2583e7d3..e3649ab4 100644
--- a/process-analyzer-test/processes/FlowSubprocess.p.json
+++ b/process-inspector-test/processes/FlowSubprocess.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18DE58E0441486DF",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -70,13 +70,13 @@
"type" : "UserTask",
"name" : "Task A",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Task A",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -99,8 +99,8 @@
"id" : "S10-f2",
"type" : "WaitEvent",
"config" : {
- "javaClass" : "com.axonivy.utils.process.analyzer.test.WaitTaskBean",
- "eventId" : "com.axonivy.utils.process.analyzer.test.WaitTaskBean.createEventIdentifierForTask()"
+ "javaClass" : "com.axonivy.utils.process.inspector.test.WaitTaskBean",
+ "eventId" : "com.axonivy.utils.process.inspector.test.WaitTaskBean.createEventIdentifierForTask()"
},
"visual" : {
"at" : { "x" : 352, "y" : 256 }
@@ -145,8 +145,8 @@
"name" : "Task B",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"",
"APAConfig.setEstimate(4,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -189,8 +189,8 @@
"map" : { },
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.handleAsTask();",
"APAConfig.setTaskName(\"Task sub\");",
@@ -268,9 +268,9 @@
"call" : {
"map" : { },
"code" : [
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.handleAsTask();",
"APAConfig.setTaskName(\"CallSubProcess A\");",
@@ -290,7 +290,7 @@
"type" : "UserTask",
"name" : "TaskC",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskC"
}
@@ -329,7 +329,7 @@
"type" : "UserTask",
"name" : "SubA-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubA-TaskA"
}
@@ -362,7 +362,7 @@
"type" : "UserTask",
"name" : "SubA-TaskB",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "SubA-TaskB"
}
@@ -385,7 +385,7 @@
"type" : "UserTask",
"name" : "TaskB",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskB"
}
@@ -480,12 +480,12 @@
"type" : "UserTask",
"name" : "Sub2-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub2-TaskA",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -529,12 +529,12 @@
"type" : "UserTask",
"name" : "Sub2-TaskD",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub2-TaskD",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -553,12 +553,12 @@
"type" : "UserTask",
"name" : "Sub2-TaskB",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub2-TaskB",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -577,12 +577,12 @@
"type" : "UserTask",
"name" : "Sub2-TaskC",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub2-TaskC",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -618,12 +618,12 @@
"type" : "UserTask",
"name" : "Sub2-TaskE",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub2-TaskE",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -670,12 +670,12 @@
"type" : "UserTask",
"name" : "Sub1-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub1-TaskA",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -797,12 +797,12 @@
"type" : "UserTask",
"name" : "Sub3-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub3-TaskA",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -849,12 +849,12 @@
"type" : "UserTask",
"name" : "Sub0-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub0-TaskA",
"code" : [
- "import com.axonivy.utils.process.analyzer.APAConfig;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
@@ -919,7 +919,7 @@
"type" : "UserTask",
"name" : "Sub00-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub00-TaskA"
}
@@ -950,7 +950,7 @@
"type" : "UserTask",
"name" : "Sub00-TaskB",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub00-TaskB"
}
@@ -1008,7 +1008,7 @@
"type" : "UserTask",
"name" : "Sub2-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Sub2-TaskA"
}
diff --git a/process-analyzer-test/processes/FlowTriggerCall.p.json b/process-inspector-test/processes/FlowTriggerCall.p.json
similarity index 81%
rename from process-analyzer-test/processes/FlowTriggerCall.p.json
rename to process-inspector-test/processes/FlowTriggerCall.p.json
index c1c52f2f..de09075a 100644
--- a/process-analyzer-test/processes/FlowTriggerCall.p.json
+++ b/process-inspector-test/processes/FlowTriggerCall.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "19024F53FFE1E44F",
"config" : {
- "data" : "com.axonivy.utils.estimator.test.FlowTriggerCallData"
+ "data" : "com.axonivy.utils.process.inspector.test.FlowTriggerCallData"
},
"elements" : [ {
"id" : "f0",
@@ -29,7 +29,7 @@
"type" : "UserTask",
"name" : "Trigger-TaskA",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "Trigger-TaskA"
}
diff --git a/process-analyzer-test/processes/ParallelTasksExample.p.json b/process-inspector-test/processes/ParallelTasksExample.p.json
similarity index 92%
rename from process-analyzer-test/processes/ParallelTasksExample.p.json
rename to process-inspector-test/processes/ParallelTasksExample.p.json
index 0441f6ad..cc802b33 100644
--- a/process-analyzer-test/processes/ParallelTasksExample.p.json
+++ b/process-inspector-test/processes/ParallelTasksExample.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18DD185B60B6E769",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -32,8 +32,8 @@
"id" : "TaskA",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -117,8 +117,8 @@
"name" : "Task3A",
"code" : [
"import java.util.concurrent.TimeUnit;",
- "import com.axonivy.utils.process.analyzer.test.UseCase;",
- "import com.axonivy.utils.process.analyzer.APAConfig;",
+ "import com.axonivy.utils.process.inspector.test.UseCase;",
+ "import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
@@ -238,7 +238,7 @@
"type" : "UserTask",
"name" : "TaskA5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskA5"
}
@@ -283,7 +283,7 @@
"type" : "UserTask",
"name" : "TaskC5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskC5"
}
@@ -299,7 +299,7 @@
"type" : "UserTask",
"name" : "TaskB5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskB5"
}
@@ -315,7 +315,7 @@
"type" : "UserTask",
"name" : "TaskD5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskD5"
}
@@ -331,7 +331,7 @@
"type" : "UserTask",
"name" : "TaskE5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskE5"
}
@@ -347,7 +347,7 @@
"type" : "UserTask",
"name" : "TaskF5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskF5"
}
@@ -380,7 +380,7 @@
"type" : "UserTask",
"name" : "TaskG5",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "TaskG5"
}
diff --git a/process-analyzer-test/processes/TaskTypesExample.p.json b/process-inspector-test/processes/TaskTypesExample.p.json
similarity index 92%
rename from process-analyzer-test/processes/TaskTypesExample.p.json
rename to process-inspector-test/processes/TaskTypesExample.p.json
index 9ba54567..cd364ce6 100644
--- a/process-analyzer-test/processes/TaskTypesExample.p.json
+++ b/process-inspector-test/processes/TaskTypesExample.p.json
@@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18DD180E9D5D26F4",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Data"
+ "data" : "com.axonivy.utils.process.inspector.test.Data"
},
"elements" : [ {
"id" : "f0",
@@ -28,7 +28,7 @@
"type" : "DialogCall",
"name" : "UserDialog",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()"
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()"
},
"visual" : {
"at" : { "x" : 224, "y" : 64 }
@@ -41,7 +41,7 @@
"type" : "UserTask",
"name" : "UserTask",
"config" : {
- "dialog" : "com.axonivy.utils.process.analyzer.test.Dummy:start()",
+ "dialog" : "com.axonivy.utils.process.inspector.test.Dummy:start()",
"task" : {
"name" : "UserTask"
}
diff --git a/process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/ProcessGraphHelper.java b/process-inspector-test/src/com/axonivy/utils/process/inspector/test/ProcessGraphHelper.java
similarity index 98%
rename from process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/ProcessGraphHelper.java
rename to process-inspector-test/src/com/axonivy/utils/process/inspector/test/ProcessGraphHelper.java
index ac6e02f4..5ea3d3fe 100644
--- a/process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/ProcessGraphHelper.java
+++ b/process-inspector-test/src/com/axonivy/utils/process/inspector/test/ProcessGraphHelper.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static java.util.Collections.emptyList;
diff --git a/process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/UseCase.java b/process-inspector-test/src/com/axonivy/utils/process/inspector/test/UseCase.java
similarity index 56%
rename from process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/UseCase.java
rename to process-inspector-test/src/com/axonivy/utils/process/inspector/test/UseCase.java
index 8823284a..7d14ff2c 100644
--- a/process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/UseCase.java
+++ b/process-inspector-test/src/com/axonivy/utils/process/inspector/test/UseCase.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
public enum UseCase {
BIGPROJECT, MEDIUMPROJECT, SMALLPROJECT
diff --git a/process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/WaitTaskBean.java b/process-inspector-test/src/com/axonivy/utils/process/inspector/test/WaitTaskBean.java
similarity index 90%
rename from process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/WaitTaskBean.java
rename to process-inspector-test/src/com/axonivy/utils/process/inspector/test/WaitTaskBean.java
index c5e48b31..cd609ae7 100644
--- a/process-analyzer-test/src/com/axonivy/utils/process/analyzer/test/WaitTaskBean.java
+++ b/process-inspector-test/src/com/axonivy/utils/process/inspector/test/WaitTaskBean.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import java.util.UUID;
diff --git a/process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/Dummy.rddescriptor b/process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/Dummy.rddescriptor
similarity index 100%
rename from process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/Dummy.rddescriptor
rename to process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/Dummy.rddescriptor
diff --git a/process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/Dummy.xhtml b/process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/Dummy.xhtml
similarity index 100%
rename from process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/Dummy.xhtml
rename to process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/Dummy.xhtml
diff --git a/process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/DummyData.ivyClass b/process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/DummyData.ivyClass
new file mode 100644
index 00000000..472e7d42
--- /dev/null
+++ b/process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/DummyData.ivyClass
@@ -0,0 +1,2 @@
+DummyData #class
+com.axonivy.utils.process.inspector.test.Dummy #namespace
diff --git a/process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/DummyProcess.p.json b/process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/DummyProcess.p.json
similarity index 93%
rename from process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/DummyProcess.p.json
rename to process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/DummyProcess.p.json
index 734d28ce..a55a5a5e 100644
--- a/process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/DummyProcess.p.json
+++ b/process-inspector-test/src_hd/com/axonivy/utils/process/inspector/test/Dummy/DummyProcess.p.json
@@ -3,7 +3,7 @@
"id" : "18E7E407FCC91D18",
"kind" : "HTML_DIALOG",
"config" : {
- "data" : "com.axonivy.utils.process.analyzer.test.Dummy.DummyData"
+ "data" : "com.axonivy.utils.process.inspector.test.Dummy.DummyData"
},
"elements" : [ {
"id" : "f0",
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleBasicTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleBasicTest.java
similarity index 73%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleBasicTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleBasicTest.java
index c9cbbc85..8fa654b2 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleBasicTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleBasicTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -11,8 +11,8 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
-import com.axonivy.utils.process.analyzer.model.DetectedTask;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
+import com.axonivy.utils.process.inspector.model.DetectedTask;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -27,14 +27,14 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindAllTasksAtStartIncludeAlternative() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- processAnalyzer.enableDescribeAlternativeElements();
- var detectedTasks = processAnalyzer.findAllTasks(start, UseCase.BIGPROJECT);
+ processInspector.enableDescribeAlternativeElements();
+ var detectedTasks = processInspector.findAllTasks(start, UseCase.BIGPROJECT);
var expected = Arrays.array("Task A", "Alter", "int/ext?", "Alter2", "Task C", "Task B");
assertArrayEquals(expected, getElementNames(detectedTasks));
@@ -43,7 +43,7 @@ void shouldFindAllTasksAtStartIncludeAlternative() throws Exception {
@Test
void shouldFindAllTasksAtStart() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findAllTasks(start, UseCase.BIGPROJECT);
+ var detectedTasks = processInspector.findAllTasks(start, UseCase.BIGPROJECT);
assertArrayEquals(Arrays.array("Task A", "Task C", "Task B"), getTaskNames(detectedTasks));
}
@@ -51,7 +51,7 @@ void shouldFindAllTasksAtStart() throws Exception {
@Test
void shouldFfindAllTasksAtTaskB() throws Exception {
var taskB = ProcessGraphHelper.findByElementName(process, "Task B");
- var detectedTasks = processAnalyzer.findAllTasks(taskB, null);
+ var detectedTasks = processInspector.findAllTasks(taskB, null);
assertArrayEquals(Arrays.array("Task B"), getTaskNames(detectedTasks));
}
@@ -59,7 +59,7 @@ void shouldFfindAllTasksAtTaskB() throws Exception {
@Test
void shouldFindAllTasksAtTaskC() throws Exception {
var taskC = ProcessGraphHelper.findByElementName(process, "Task C");
- var detectedTasks = processAnalyzer.findAllTasks(taskC, null);
+ var detectedTasks = processInspector.findAllTasks(taskC, null);
assertArrayEquals(Arrays.array("Task C", "Task B"), getTaskNames(detectedTasks));
}
@@ -67,7 +67,7 @@ void shouldFindAllTasksAtTaskC() throws Exception {
@Test
void shouldFindAllTasksAtNewStart() throws Exception {
var newStart = ProcessGraphHelper.findByElementName(process, "NewStart");
- var detectedTasks = processAnalyzer.findAllTasks(newStart, UseCase.BIGPROJECT);
+ var detectedTasks = processInspector.findAllTasks(newStart, UseCase.BIGPROJECT);
assertArrayEquals(Arrays.array("Task C", "Task B"), getTaskNames(detectedTasks));
}
@@ -75,7 +75,7 @@ void shouldFindAllTasksAtNewStart() throws Exception {
@Test
void shouldFindTasksOnPathWithoutFlowNameAtStart() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(start, null, null);
assertArrayEquals(Arrays.array("Task A"), getTaskNames(detectedTasks));
}
@@ -83,7 +83,7 @@ void shouldFindTasksOnPathWithoutFlowNameAtStart() throws Exception {
@Test
void shouldFindTasksOnPathWithoutFlowNameAtTaskB() throws Exception {
var taskB = ProcessGraphHelper.findByElementName(process, "Task B");
- var detectedTasks = processAnalyzer.findTasksOnPath(taskB, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(taskB, null, null);
assertArrayEquals(Arrays.array("Task B"), getTaskNames(detectedTasks));
}
@@ -91,7 +91,7 @@ void shouldFindTasksOnPathWithoutFlowNameAtTaskB() throws Exception {
@Test
void shouldFindTasksOnPathWithoutFlowNameAtTaskC() throws Exception {
var taskC = ProcessGraphHelper.findByElementName(process, "Task C");
- var detectedTasks = processAnalyzer.findTasksOnPath(taskC, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(taskC, null, null);
assertArrayEquals(Arrays.array("Task C", "Task B"), getTaskNames(detectedTasks));
}
@@ -99,7 +99,7 @@ void shouldFindTasksOnPathWithoutFlowNameAtTaskC() throws Exception {
@Test
void shouldFindTasksOnPathWithoutFlowNameAtNewStart() throws Exception {
var newStart = ProcessGraphHelper.findByElementName(process, "NewStart");
- var detectedTasks = processAnalyzer.findTasksOnPath(newStart, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(newStart, null, null);
assertArrayEquals(Arrays.array("Task B"), getTaskNames(detectedTasks));
}
@@ -109,9 +109,9 @@ void shouldFindTasksOnPathWithProcessFlowOverridesAtStart() throws Exception {
var newStart = ProcessGraphHelper.findByElementName(process, "NewStart");
var flowOverrides = new HashMap();
flowOverrides.put("18DC44E096FDFF75-f8", "18DC44E096FDFF75-f12");
- processAnalyzer.setProcessFlowOverrides(flowOverrides);
+ processInspector.setProcessFlowOverrides(flowOverrides);
- var detectedTasks = processAnalyzer.findTasksOnPath(newStart, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(newStart, null, null);
var expected = Arrays.array("Task C", "Task B");
var taskNames = getTaskNames(detectedTasks);
@@ -121,7 +121,7 @@ void shouldFindTasksOnPathWithProcessFlowOverridesAtStart() throws Exception {
@Test
void shouldFindTasksOnPathOfInternalFlowAtStart() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, "internal");
+ var detectedTasks = processInspector.findTasksOnPath(start, null, "internal");
assertArrayEquals(Arrays.array("Task A", "Task B"), getTaskNames(detectedTasks));
}
@@ -129,7 +129,7 @@ void shouldFindTasksOnPathOfInternalFlowAtStart() throws Exception {
@Test
void shouldFindTasksOnPathOfInternalFlowAtNewStart() throws Exception {
var newStart = ProcessGraphHelper.findByElementName(process, "NewStart");
- var detectedTasks = processAnalyzer.findTasksOnPath(newStart, null, "internal");
+ var detectedTasks = processInspector.findTasksOnPath(newStart, null, "internal");
assertArrayEquals(Arrays.array("Task B"), getTaskNames(detectedTasks));
}
@@ -137,7 +137,7 @@ void shouldFindTasksOnPathOfInternalFlowAtNewStart() throws Exception {
@Test
void shouldFindAllTasksOfExternalFlowAtStart() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, "external");
+ var detectedTasks = processInspector.findTasksOnPath(start, null, "external");
assertArrayEquals(Arrays.array("Task A", "Task C", "Task B"), getTaskNames(detectedTasks));
}
@@ -145,7 +145,7 @@ void shouldFindAllTasksOfExternalFlowAtStart() throws Exception {
@Test
void shouldFindTasksOnPathOfExternalFlowAtNewStart() throws Exception {
var newStart = ProcessGraphHelper.findByElementName(process, "NewStart");
- var detectedTasks = processAnalyzer.findTasksOnPath(newStart, null, "external");
+ var detectedTasks = processInspector.findTasksOnPath(newStart, null, "external");
assertArrayEquals(Arrays.array("Task C", "Task B"), getTaskNames(detectedTasks));
}
@@ -153,7 +153,7 @@ void shouldFindTasksOnPathOfExternalFlowAtNewStart() throws Exception {
@Test
void shouldFindTasksOnPathOfMixedFlowAtStart() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, "mixed");
+ var detectedTasks = processInspector.findTasksOnPath(start, null, "mixed");
assertArrayEquals(Arrays.array("Task A", "Task B"), getTaskNames(detectedTasks));
}
@@ -161,7 +161,7 @@ void shouldFindTasksOnPathOfMixedFlowAtStart() throws Exception {
@Test
void shouldFindTasksOnPathOfMixedFlowAtNewStart() throws Exception {
var newStart = ProcessGraphHelper.findByElementName(process, "NewStart");
- var detectedTasks = processAnalyzer.findTasksOnPath(newStart, null, "mixed");
+ var detectedTasks = processInspector.findTasksOnPath(newStart, null, "mixed");
assertArrayEquals(Arrays.array("Task B"), getTaskNames(detectedTasks));
}
@@ -169,21 +169,21 @@ void shouldFindTasksOnPathOfMixedFlowAtNewStart() throws Exception {
@Test
void shouldCalculateTotalDurationWithDefault() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- Duration duration = processAnalyzer.calculateWorstCaseDuration(start, null);
+ Duration duration = processInspector.calculateWorstCaseDuration(start, null);
assertEquals(0, duration.toHours());
}
@Test
void shouldCalculateTotalDurationWithSMALPROJECT() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- Duration duration = processAnalyzer.calculateWorstCaseDuration(start, UseCase.SMALLPROJECT);
+ Duration duration = processInspector.calculateWorstCaseDuration(start, UseCase.SMALLPROJECT);
assertEquals(5, duration.toHours());
}
@Test
void shouldCheckCustomInfo() throws Exception {
var newStart = ProcessGraphHelper.findByElementName(process, "NewStart");
- var detectedTasks = processAnalyzer.findTasksOnPath(newStart, null, "internal");
+ var detectedTasks = processInspector.findTasksOnPath(newStart, null, "internal");
assertEquals("abc", ((DetectedTask) detectedTasks.get(0)).getCustomInfo());
}
}
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleComplexTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleComplexTest.java
similarity index 80%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleComplexTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleComplexTest.java
index aae4459d..ef6358a6 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleComplexTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleComplexTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -12,7 +12,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -28,13 +28,13 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindAllTasksAtStart() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findAllTasks(start, null);
+ var detectedTasks = processInspector.findAllTasks(start, null);
var expected = Arrays.array("Task A", "Task B", "Task K", "Task2A", "Task H", "Task2B", "Task G", "Task F",
"Task C", "Task1A", "Task E", "Task1B", "Task D");
@@ -47,7 +47,7 @@ void shouldFindAllTasksAtTaskKAndTaskF() throws Exception {
var taskK = ProcessGraphHelper.findByElementName(process, "Task K");
var taskF = ProcessGraphHelper.findByElementName(process, "Task F");
- var detectedTasks = processAnalyzer.findAllTasks(List.of(taskK, taskF), null);
+ var detectedTasks = processInspector.findAllTasks(List.of(taskK, taskF), null);
var expected = Arrays.array("Task K", "Task F", "Task2A", "Task H", "Task2B", "Task G");
var taskNames = (getTaskNames(detectedTasks));
@@ -60,7 +60,7 @@ void shouldFindAllTasksAtTaskFAndTaskB() throws Exception {
var taskB = ProcessGraphHelper.findByElementName(process, "Task B");
var taskF = ProcessGraphHelper.findByElementName(process, "Task F");
- var detectedTasks = processAnalyzer.findAllTasks(List.of(taskF, taskB), null);
+ var detectedTasks = processInspector.findAllTasks(List.of(taskF, taskB), null);
var expected = Arrays.array("Task F", "Task K", "Task2A", "Task H", "Task2B", "Task G", "Task B");
var taskNames = (getTaskNames(detectedTasks));
@@ -71,7 +71,7 @@ void shouldFindAllTasksAtTaskFAndTaskB() throws Exception {
@Test
void shouldFindAllTasksAtTaskC() throws Exception {
var taskC = ProcessGraphHelper.findByElementName(process, "Task C");
- var detectedTasks = processAnalyzer.findAllTasks(taskC, null);
+ var detectedTasks = processInspector.findAllTasks(taskC, null);
var expected = Arrays.array("Task C", "Task1A", "Task E", "Task1B", "Task D", "Task2A", "Task H", "Task2B",
"Task G", "Task K", "Task F");
@@ -83,7 +83,7 @@ void shouldFindAllTasksAtTaskC() throws Exception {
@Test
void shouldFindTasksOnPathAtTaskCWithInternal() throws Exception {
var taskC = ProcessGraphHelper.findByElementName(process, "Task C");
- var detectedTasks = processAnalyzer.findTasksOnPath(taskC, null, "internal");
+ var detectedTasks = processInspector.findTasksOnPath(taskC, null, "internal");
var expected = Arrays.array("Task C", "Task1A", "Task E", "Task1B", "Task D", "Task2A", "Task H", "Task2B",
"Task G");
@@ -95,7 +95,7 @@ void shouldFindTasksOnPathAtTaskCWithInternal() throws Exception {
@Test
void shouldFindTasksOnPathAtTaskC() throws Exception {
var taskC = ProcessGraphHelper.findByElementName(process, "Task C");
- var detectedTasks = processAnalyzer.findTasksOnPath(taskC, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(taskC, null, null);
var expected = Arrays.array("Task C", "Task1A", "Task E", "Task1B", "Task D", "Task2A", "Task H", "Task2B",
"Task G", "Task K");
@@ -107,7 +107,7 @@ void shouldFindTasksOnPathAtTaskC() throws Exception {
@Test
void shouldFindTasksOnPathAtStart() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, UseCase.BIGPROJECT, "internal");
+ var detectedTasks = processInspector.findTasksOnPath(start, UseCase.BIGPROJECT, "internal");
var expected = Arrays.array("Task A", "Task B", "Task2A", "Task H", "Task2B", "Task G");
var taskNames = (getTaskNames(detectedTasks));
@@ -118,7 +118,7 @@ void shouldFindTasksOnPathAtStart() throws Exception {
void shouldCalculateEstimateDuratioUseCaseBIGPROJECTAtTaskBAndTaskC() throws Exception {
var taskB = ProcessGraphHelper.findByElementName(process, "Task B");
var taskC = ProcessGraphHelper.findByElementName(process, "Task C");
- Duration duration = processAnalyzer.calculateWorstCaseDuration(List.of(taskB, taskC), UseCase.BIGPROJECT);
+ Duration duration = processInspector.calculateWorstCaseDuration(List.of(taskB, taskC), UseCase.BIGPROJECT);
assertEquals(Duration.ofHours(15), duration);
}
@@ -127,9 +127,9 @@ void shouldCalculateEstimateDuratioUseCaseBIGPROJECTAtTaskBAndTaskC() throws Exc
void shouldFindTasksOnPathWithProcessFlowOverridesAtTaskC() throws Exception {
var flowOverrides = new HashMap();
flowOverrides.put("18DF31B990019995-f47", "18DF31B990019995-f28");
- processAnalyzer.setProcessFlowOverrides(flowOverrides);
+ processInspector.setProcessFlowOverrides(flowOverrides);
var taskC = ProcessGraphHelper.findByElementName(process, "Task C");
- var detectedTasks = processAnalyzer.findTasksOnPath(taskC, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(taskC, null, null);
var expected = Arrays.array("Task C", "Task1A", "Task E", "Task1B", "Task D", "Task F", "Task K");
var taskNames = (getTaskNames(detectedTasks));
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleErrorTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleErrorTest.java
similarity index 82%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleErrorTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleErrorTest.java
index fc2495e7..13715802 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleErrorTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleErrorTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
@@ -7,7 +7,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -23,13 +23,13 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindTasksOnPathAtStartWithFlowNameSuccess() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, "success");
+ var detectedTasks = processInspector.findTasksOnPath(start, null, "success");
assertEquals(1, detectedTasks.size());
assertEquals("Task A", getTaskNames(detectedTasks)[0]);
@@ -39,7 +39,7 @@ void shouldFindTasksOnPathAtStartWithFlowNameSuccess() throws Exception {
void shouldThrowExceptionWhenFindTasksOnPathAtStartWithFlowNameNull() {
var start = ProcessGraphHelper.findByElementName(process, "start");
Exception exception = assertThrows(Exception.class, () -> {
- processAnalyzer.findTasksOnPath(start, null, null);
+ processInspector.findTasksOnPath(start, null, null);
});
String expectedMessage = "Not found path after element: \"alter1-18DD16F8AA39F5DE-f7\"";
@@ -52,7 +52,7 @@ void shouldThrowExceptionWhenFindTasksOnPathAtStartWithFlowNameNull() {
void shouldThrowExceptionWhenFindTasksOnPathAtStart2WithInternal() {
var start2 = ProcessGraphHelper.findByElementName(process, "start2");
Exception exception = assertThrows(Exception.class, () -> {
- processAnalyzer.findTasksOnPath(start2, null, "internal");
+ processInspector.findTasksOnPath(start2, null, "internal");
});
String expectedMessage = "Have more than one out going with flowname internal";
@@ -65,7 +65,7 @@ void shouldThrowExceptionWhenFindTasksOnPathAtStart2WithInternal() {
void shouldThrowExceptionWhenFindTasksOnPathAtStart2WithFlowNameNull() {
var start2 = ProcessGraphHelper.findByElementName(process, "start2");
Exception exception = assertThrows(Exception.class, () -> {
- processAnalyzer.findTasksOnPath(start2, null, null);
+ processInspector.findTasksOnPath(start2, null, null);
});
String expectedMessage = "Have more than one out going with default path";
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleLoopTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleLoopTest.java
similarity index 75%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleLoopTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleLoopTest.java
index 29a0af67..f6998536 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleLoopTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleLoopTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
@@ -7,7 +7,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -22,13 +22,13 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindTasksOnPathAtStartWithFlowNameNull() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(start, null, null);
assertArrayEquals(Arrays.array("Task A", "Task B"), getTaskNames(detectedTasks));
}
@@ -36,7 +36,7 @@ void shouldFindTasksOnPathAtStartWithFlowNameNull() throws Exception {
@Test
void shouldFindAllTasksStartWithFlowNameNull() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findAllTasks(start, null);
+ var detectedTasks = processInspector.findAllTasks(start, null);
assertArrayEquals(Arrays.array("Task A", "Task B"), getTaskNames(detectedTasks));
}
@@ -44,7 +44,7 @@ void shouldFindAllTasksStartWithFlowNameNull() throws Exception {
@Test
void shouldFindTasksOnPathAtStartWithFlowNameSuccess() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, "success");
+ var detectedTasks = processInspector.findTasksOnPath(start, null, "success");
assertArrayEquals(Arrays.array("Task A"), getTaskNames(detectedTasks));
}
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleTest.java
similarity index 90%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleTest.java
index 2ae1470c..b290c484 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowExampleTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowExampleTest.java
@@ -1,12 +1,12 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Date;
import java.util.List;
-import com.axonivy.utils.process.analyzer.AdvancedProcessAnalyzer;
-import com.axonivy.utils.process.analyzer.model.DetectedElement;
+import com.axonivy.utils.process.inspector.ProcessInspector;
+import com.axonivy.utils.process.inspector.model.DetectedElement;
import ch.ivyteam.ivy.environment.Ivy;
import ch.ivyteam.ivy.process.model.Process;
@@ -18,7 +18,7 @@
public abstract class FlowExampleTest {
protected static Process process;
- protected AdvancedProcessAnalyzer processAnalyzer;
+ protected ProcessInspector processInspector;
protected static void setup(String processName) {
var pmv = Ivy.request().getProcessModelVersion();
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowMixedSubProcess.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowMixedSubProcess.java
similarity index 77%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowMixedSubProcess.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowMixedSubProcess.java
index 8844c0f1..2fe00b86 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowMixedSubProcess.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowMixedSubProcess.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
@@ -7,7 +7,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -22,13 +22,13 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindAllTasks() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findAllTasks(start, UseCase.BIGPROJECT);
+ var detectedTasks = processInspector.findAllTasks(start, UseCase.BIGPROJECT);
var expected = Arrays.array("TaskA", "SubA-TaskA", "SubA-TaskC", "SubA-TaskB", "SubD-TaskB", "SubB-TaskA", "SubD-TaskC", "SubC-TaskA", "SubD-TaskB", "SubD-TaskA");
var taskNames = getTaskNames(detectedTasks);
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowParallelInOrderCaseTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowParallelInOrderCaseTest.java
similarity index 86%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowParallelInOrderCaseTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowParallelInOrderCaseTest.java
index be6e0178..37eb04e2 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowParallelInOrderCaseTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowParallelInOrderCaseTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -11,8 +11,8 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
-import com.axonivy.utils.process.analyzer.model.DetectedTask;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
+import com.axonivy.utils.process.inspector.model.DetectedTask;
import ch.ivyteam.ivy.bpm.engine.client.BpmClient;
import ch.ivyteam.ivy.bpm.engine.client.ExecutionResult;
@@ -27,7 +27,7 @@ public class FlowParallelInOrderCaseTest extends FlowExampleTest {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
@@ -35,7 +35,7 @@ void shouldshouldFindAllTasksAtStart(BpmClient bpmClient) throws Exception {
ExecutionResult result = bpmClient.start().process(FLOW_PARALLEL_IN_ORDER.elementName("start")).execute();
ICase icase = result.workflow().activeCase();
- var detectedTasks = processAnalyzer.findAllTasks(icase, null);
+ var detectedTasks = processInspector.findAllTasks(icase, null);
var expected = Arrays.array("Task 1A", "Task A", "Task B", "Task 1B", "Task C", "Task D");
var taskNames = getTaskNames(detectedTasks);
@@ -47,7 +47,7 @@ void shouldFindTasksOnPathByCaseAtStart3(BpmClient bpmClient) throws Exception {
ExecutionResult result = bpmClient.start().process(FLOW_PARALLEL_IN_ORDER.elementName("start3")).execute();
ICase icase = result.workflow().activeCase();
- var detectedTasks = processAnalyzer.findTasksOnPath(icase, null, "internal");
+ var detectedTasks = processInspector.findTasksOnPath(icase, null, "internal");
var expected = Arrays.array("Task1A3", "Task B3", "Task1B3", "Task A3", "Task2B3", "Task D3", "Task2A3",
"Task C3", "Task K3", "Task2C3", "Task G3", "Task3A3", "Task I3");
@@ -72,7 +72,7 @@ void shouldFindTasksOnPathByCaseAtTaskBAndTaskC(BpmClient bpmClient) throws Exce
ICase icase = result.workflow().activeCase();
- var detectedTasks = processAnalyzer.findTasksOnPath(icase, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(icase, null, null);
var expected = Arrays.array("Task C", "Task B", "Task D");
var taskNames = getTaskNames(detectedTasks);
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowParallelInOrderTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowParallelInOrderTest.java
similarity index 81%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowParallelInOrderTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowParallelInOrderTest.java
index f750c8b1..34e9c396 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowParallelInOrderTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowParallelInOrderTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -12,8 +12,8 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
-import com.axonivy.utils.process.analyzer.model.DetectedTask;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
+import com.axonivy.utils.process.inspector.model.DetectedTask;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -29,13 +29,13 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindAllTasksAtStart() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- List detectedTasks = processAnalyzer.findAllTasks(start, null).stream()
+ List detectedTasks = processInspector.findAllTasks(start, null).stream()
.map(DetectedTask.class::cast).toList();
var expected = Arrays.array("Task 1A", "Task A", "Task B", "Task 1B", "Task C", "Task D");
@@ -46,7 +46,7 @@ void shouldFindAllTasksAtStart() throws Exception {
@Test
void shouldSetRightStartTimestampForTaskD() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- List detectedTasks = processAnalyzer.findTasksOnPath(start, null, null).stream()
+ List detectedTasks = processInspector.findTasksOnPath(start, null, null).stream()
.map(DetectedTask.class::cast).toList();
DetectedTask taskD = detectedTasks.stream().filter(it -> it.getTaskName().equals("Task D")).findFirst()
@@ -64,7 +64,7 @@ void shouldSetRightStartTimestampForTaskD() throws Exception {
@Test
void shouldFindAllTasksAtStart3() throws Exception {
var start3 = ProcessGraphHelper.findByElementName(process, "start3");
- var detectedTasks = processAnalyzer.findAllTasks(start3, null);
+ var detectedTasks = processInspector.findAllTasks(start3, null);
var expected = Arrays.array("Task1A3", "Task B3", "Task1B3", "Task A3", "Task2C3", "Task E3", "Task2B3",
"Task D3", "Task2A3", "Task C3", "Task F3", "Task K3", "Task G3", "Task3A3", "Task I3");
@@ -76,7 +76,7 @@ void shouldFindAllTasksAtStart3() throws Exception {
void shouldFindTasksOnPathAtStart3() throws Exception {
var start3 = ProcessGraphHelper.findByElementName(process, "start3");
- var detectedTasks = processAnalyzer.findTasksOnPath(start3, null, "internal");
+ var detectedTasks = processInspector.findTasksOnPath(start3, null, "internal");
var expected = Arrays.array("Task1A3", "Task B3", "Task1B3", "Task A3", "Task2B3", "Task D3", "Task2A3",
"Task C3", "Task K3", "Task2C3", "Task G3", "Task3A3", "Task I3");
@@ -87,21 +87,21 @@ void shouldFindTasksOnPathAtStart3() throws Exception {
@Test
void shouldCalculateTotalDurationAtStartWithoutUseCase() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- Duration duration = processAnalyzer.calculateWorstCaseDuration(start, null);
+ Duration duration = processInspector.calculateWorstCaseDuration(start, null);
assertEquals(0, duration.toHours());
}
@Test
void shouldCalculateTotalDurationWithSMALPROJECT() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- Duration duration = processAnalyzer.calculateWorstCaseDuration(start, UseCase.SMALLPROJECT);
+ Duration duration = processInspector.calculateWorstCaseDuration(start, UseCase.SMALLPROJECT);
assertEquals(6, duration.toHours());
}
@Test
void shouldCalculateTotalDurationWithBIGPROJECT() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- Duration duration = processAnalyzer.calculateWorstCaseDuration(start, UseCase.BIGPROJECT);
+ Duration duration = processInspector.calculateWorstCaseDuration(start, UseCase.BIGPROJECT);
assertEquals(9, duration.toHours());
}
@@ -110,7 +110,7 @@ void shouldFindTasksOnPathAtTaskBAndTaskC() throws Exception {
var startB = ProcessGraphHelper.findByElementId(process, "f6");
var startC = ProcessGraphHelper.findByElementId(process, "f8");
- var detectedTasks = processAnalyzer.findTasksOnPath(List.of(startB, startC), null, null);
+ var detectedTasks = processInspector.findTasksOnPath(List.of(startB, startC), null, null);
var expected = Arrays.array("Task B", "Task C", "Task D");
var taskNames = getTaskNames(detectedTasks);
@@ -123,7 +123,7 @@ void shouldFindTasksOnPathAtTaskC3AndTaskD3AndTaskE3() throws Exception {
var startD3 = ProcessGraphHelper.findByElementId(process, "f49");
var startE3 = ProcessGraphHelper.findByElementId(process, "f58");
- var detectedTasks = processAnalyzer.findTasksOnPath(List.of(startC3, startD3, startE3), null, null);
+ var detectedTasks = processInspector.findTasksOnPath(List.of(startC3, startD3, startE3), null, null);
var expected = Arrays.array("Task E3", "Task C3", "Task F3", "Task D3", "Task3A3", "Task I3");
var taskNames = getTaskNames(detectedTasks);
@@ -137,7 +137,7 @@ void shouldFindTasksOnPathAtTaskA2AndTaskE2AndTaskF2AndTaskG2() throws Exception
var startF2 = ProcessGraphHelper.findByElementName(process, "TaskF2");
var startG2 = ProcessGraphHelper.findByElementName(process, "TaskG2");
- var detectedTasks = processAnalyzer.findTasksOnPath(List.of(startA2, startE2, startF2, startG2), null, null);
+ var detectedTasks = processInspector.findTasksOnPath(List.of(startA2, startE2, startF2, startG2), null, null);
var expected = Arrays.array("TaskA2", "Task5A2", "TaskC2", "Task5B2", "TaskD2", "Task1B", "TaskG2", "TaskE2",
"TaskF2", "Task2A", "TaskI2", "Task4A", "TaskK2", "Task3", "TaskJ2");
@@ -154,7 +154,7 @@ void shouldFindTasksOnPathAtTaskC2AndTaskD2AndTaskE2AndTaskF2AndTaskG2() throws
var startF2 = ProcessGraphHelper.findByElementName(process, "TaskF2");
var startG2 = ProcessGraphHelper.findByElementName(process, "TaskG2");
- var detectedTasks = processAnalyzer.findTasksOnPath(List.of(startC2, startD2, startE2, startF2, startG2), null,
+ var detectedTasks = processInspector.findTasksOnPath(List.of(startC2, startD2, startE2, startF2, startG2), null,
null);
var expected = Arrays.array("TaskG2", "TaskE2", "TaskF2", "Task2A", "TaskI2", "Task4A", "TaskK2", "TaskC2",
"TaskD2", "Task3", "TaskJ2");
@@ -168,7 +168,7 @@ void shouldFindTasksOnPathAtTaskG2AndTaskI2() throws Exception {
var startG2 = ProcessGraphHelper.findByElementName(process, "TaskG2");
var startI2 = ProcessGraphHelper.findByElementName(process, "TaskI2");
- var detectedTasks = processAnalyzer.findTasksOnPath(List.of(startG2, startI2), null, null);
+ var detectedTasks = processInspector.findTasksOnPath(List.of(startG2, startI2), null, null);
var expected = Arrays.array("TaskG2", "TaskI2", "Task4A", "TaskK2", "Task3", "TaskJ2");
var taskNames = getTaskNames(detectedTasks);
@@ -179,7 +179,7 @@ void shouldFindTasksOnPathAtTaskG2AndTaskI2() throws Exception {
void shouldFindAllTasksAtStart5() throws Exception {
var start5 = ProcessGraphHelper.findByElementName(process, "start5");
- var detectedTasks = processAnalyzer.findAllTasks(start5, null);
+ var detectedTasks = processInspector.findAllTasks(start5, null);
var expected = Arrays.array("TaskA5", "TaskC5", "TaskE5", "TaskF5", "TaskI5", "TaskG5", "TaskH5", "TaskD5", "TaskB5", "TaskJ5");
var taskNames = getTaskNames(detectedTasks);
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowSubProcessCaseTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowSubProcessCaseTest.java
similarity index 85%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowSubProcessCaseTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowSubProcessCaseTest.java
index 239e0f15..ec837c6f 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowSubProcessCaseTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowSubProcessCaseTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -10,7 +10,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
import ch.ivyteam.ivy.bpm.engine.client.BpmClient;
import ch.ivyteam.ivy.bpm.engine.client.ExecutionResult;
@@ -25,7 +25,7 @@ public class FlowSubProcessCaseTest extends FlowExampleTest {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
@@ -39,7 +39,7 @@ void shouldFindAllTasksAtStart3(BpmClient bpmClient) throws Exception {
}
ICase icase = result.workflow().activeCase();
- var detectedTasks = processAnalyzer.findAllTasks(icase, null);
+ var detectedTasks = processInspector.findAllTasks(icase, null);
var expected = Arrays.array("SubA-TaskA", "SubA-TaskB", "CallSubProcess A", "TaskC", "TaskB");
var taskNames = getTaskNames(detectedTasks);
@@ -51,7 +51,7 @@ void shouldFindAllTasksAtStart(BpmClient bpmClient) throws Exception {
ExecutionResult result = bpmClient.start().process(FLOW_SUB_PROCESS.elementName("start")).execute();
ICase icase = result.workflow().activeCase();
- var detectedTasks = processAnalyzer.findAllTasks(icase, null);
+ var detectedTasks = processInspector.findAllTasks(icase, null);
var expected = Arrays.array("Task A", "Task B");
var taskNames = getTaskNames(detectedTasks);
@@ -69,7 +69,7 @@ void shouldFindAllTasksAtWaitTask(BpmClient bpmClient) throws Exception {
bpmClient.mock().uiOf(FLOW_SUB_PROCESS.elementName("Task A")).withNoAction();
result = bpmClient.start().task(taskA).as().everybody().execute();
- var detectedTasks = processAnalyzer.findAllTasks(icase, null);
+ var detectedTasks = processInspector.findAllTasks(icase, null);
var expected = Arrays.array("Task B");
var taskNames = getTaskNames(detectedTasks);
@@ -81,7 +81,7 @@ void shouldCalculateWorstCaseDuration(BpmClient bpmClient) throws Exception {
ExecutionResult result = bpmClient.start().process(FLOW_SUB_PROCESS.elementName("start")).execute();
ICase icase = result.workflow().activeCase();
- var total = processAnalyzer.calculateWorstCaseDuration(icase, UseCase.BIGPROJECT);
+ var total = processInspector.calculateWorstCaseDuration(icase, UseCase.BIGPROJECT);
assertEquals(Duration.ofHours(9), total);
}
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowSubProcessTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowSubProcessTest.java
similarity index 82%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowSubProcessTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowSubProcessTest.java
index 20234239..c3fff0aa 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/FlowSubProcessTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/FlowSubProcessTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static java.util.Collections.emptyList;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
@@ -11,8 +11,8 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
-import com.axonivy.utils.process.analyzer.model.DetectedTask;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
+import com.axonivy.utils.process.inspector.model.DetectedTask;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -27,13 +27,13 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindTasksOnPathAtStartWithFlowNameNull() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(start, null, null);
assertArrayEquals(Arrays.array("Task A", "Task B"), getTaskNames(detectedTasks));
}
@@ -41,7 +41,7 @@ void shouldFindTasksOnPathAtStartWithFlowNameNull() throws Exception {
@Test
void shouldFindAllTasksAtStartWithFlowNameNull() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findAllTasks(start, null);
+ var detectedTasks = processInspector.findAllTasks(start, null);
assertArrayEquals(Arrays.array("Task A", "Task B"), getTaskNames(detectedTasks));
}
@@ -49,7 +49,7 @@ void shouldFindAllTasksAtStartWithFlowNameNull() throws Exception {
@Test
void shouldFindAllTasksAtStart4() throws Exception {
var start4 = ProcessGraphHelper.findByElementName(process, "start4");
- var detectedTasks = processAnalyzer.findAllTasks(start4, null);
+ var detectedTasks = processInspector.findAllTasks(start4, null);
var expected = Arrays.array("Sub0-TaskA", "Sub00-TaskA", "Sub00-TaskB", "Sub1-TaskA", "Sub2-TaskE", "Sub2-TaskB", "Sub2-TaskC", "Sub3-TaskA", "Sub2-TaskA", "Sub2-TaskD");
var taskNames = getTaskNames(detectedTasks);
@@ -60,7 +60,7 @@ void shouldFindAllTasksAtStart4() throws Exception {
@Test
void shouldFindAllTasksAtStart4OnEndPath() throws Exception {
var start4 = ProcessGraphHelper.findByElementName(process, "start4");
- var detectedTasks = processAnalyzer.findTasksOnPath(start4, null, "happy");
+ var detectedTasks = processInspector.findTasksOnPath(start4, null, "happy");
var expected = Arrays.array("Sub0-TaskA", "Sub00-TaskA");
var taskNames = getTaskNames(detectedTasks);
@@ -71,7 +71,7 @@ void shouldFindAllTasksAtStart4OnEndPath() throws Exception {
@Test
void shouldFindTaskParentNames() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findAllTasks(start, null);
+ var detectedTasks = processInspector.findAllTasks(start, null);
var parentElementNames = detectedTasks.stream().filter(item -> item.getTaskName().equals("Task A")).findFirst()
.map(DetectedTask.class::cast).map(DetectedTask::getParentElementNames).orElse(emptyList());
@@ -81,7 +81,7 @@ void shouldFindTaskParentNames() throws Exception {
@Test
void shouldFindSubProcessTestAtStart2() throws Exception {
var start2 = ProcessGraphHelper.findByElementName(process, "start2");
- var detectedTasks = processAnalyzer.findAllTasks(start2, UseCase.BIGPROJECT);
+ var detectedTasks = processInspector.findAllTasks(start2, UseCase.BIGPROJECT);
var expected = Arrays.array("Task sub", "Sub2-TaskA");
var taskNames = getTaskNames(detectedTasks);
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/ParallelTasksExampleTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/ParallelTasksExampleTest.java
similarity index 77%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/ParallelTasksExampleTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/ParallelTasksExampleTest.java
index 77ef56c3..2166480a 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/ParallelTasksExampleTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/ParallelTasksExampleTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -13,10 +13,10 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
-import com.axonivy.utils.process.analyzer.model.DetectedElement;
-import com.axonivy.utils.process.analyzer.model.DetectedTask;
-import com.axonivy.utils.process.analyzer.model.ElementTask;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
+import com.axonivy.utils.process.inspector.model.DetectedElement;
+import com.axonivy.utils.process.inspector.model.DetectedTask;
+import com.axonivy.utils.process.inspector.model.ElementTask;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -31,13 +31,13 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindAllTasksAtStartWithFlowNameNullAndContainDefaultTaskName() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findAllTasks(start, null);
+ var detectedTasks = processInspector.findAllTasks(start, null);
var names = getTaskNames(detectedTasks);
assertArrayEquals(Arrays.array("TaskA", "Task1B", "Task2", "Task3B", "Task3A"), names);
@@ -46,7 +46,7 @@ void shouldFindAllTasksAtStartWithFlowNameNullAndContainDefaultTaskName() throws
@Test
void shouldFindTasksOnPathAtStartWithFlowNameNull() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(start, null, null);
var names = getTaskNames(detectedTasks);
assertArrayEquals(Arrays.array("TaskA", "Task1B", "Task2", "Task3B", "Task3A"), names);
@@ -55,7 +55,7 @@ void shouldFindTasksOnPathAtStartWithFlowNameNull() throws Exception {
@Test
void shouldFindTasksOnPathAtStartWithFlowNameShortcut() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, "shortcut");
+ var detectedTasks = processInspector.findTasksOnPath(start, null, "shortcut");
var names = getTaskNames(detectedTasks);
assertArrayEquals(Arrays.array("TaskA", "Task1B", "Task2"), names);
@@ -68,7 +68,7 @@ void shouldFindOverrideDuration() throws Exception {
durationOverride.put(ElementTask.createSingle("18DD185B60B6E769-f7"), Duration.ofHours(11));
var start = ProcessGraphHelper.findByElementName(process, "start");
- List detectedTasks = processAnalyzer.setDurationOverrides(durationOverride)
+ List detectedTasks = processInspector.setDurationOverrides(durationOverride)
.findTasksOnPath(start, null, null);
DetectedTask taskA = (DetectedTask) findByPid(detectedTasks, "18DD185B60B6E769-f15-TaskA");
@@ -81,7 +81,7 @@ void shouldFindOverrideDuration() throws Exception {
@Test
void shouldFindDefaultDuration() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, UseCase.BIGPROJECT, null);
+ var detectedTasks = processInspector.findTasksOnPath(start, UseCase.BIGPROJECT, null);
DetectedTask taskA = (DetectedTask) findByPid(detectedTasks, "18DD185B60B6E769-f15-TaskA");
@@ -92,7 +92,7 @@ void shouldFindDefaultDuration() throws Exception {
void shouldFindAllTasksStart5() throws Exception {
var start5 = ProcessGraphHelper.findByElementName(process, "start5");
- var detectedTasks = processAnalyzer.findAllTasks(start5, null);
+ var detectedTasks = processInspector.findAllTasks(start5, null);
var expected = Arrays.array("TaskA5", "TaskC5", "TaskB5", "TaskE5", "TaskD5", "TaskF5", "TaskG5");
var taskNames = getTaskNames(detectedTasks);
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/TaskTypesExampleTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/TaskTypesExampleTest.java
similarity index 77%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/TaskTypesExampleTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/TaskTypesExampleTest.java
index 11e1f356..2e3639f0 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/TaskTypesExampleTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/TaskTypesExampleTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test;
+package com.axonivy.utils.process.inspector.test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
@@ -7,7 +7,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer;
+import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector;
import ch.ivyteam.ivy.environment.IvyTest;
@@ -22,13 +22,13 @@ public static void setup() {
@BeforeEach
public void setupForEach() {
- processAnalyzer = new ProcessAnalyzer();
+ processInspector = new AdvancedProcessInspector();
}
@Test
void shouldFindAllTasksOnPathAtStartWithFlowNameNull() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findTasksOnPath(start, null, null);
+ var detectedTasks = processInspector.findTasksOnPath(start, null, null);
var names = getTaskNames(detectedTasks);
assertArrayEquals(Arrays.array("UserTask", "Task", "Tasks-TaskA", "Tasks-TaskB"), names);
@@ -37,7 +37,7 @@ void shouldFindAllTasksOnPathAtStartWithFlowNameNull() throws Exception {
@Test
void shouldFindAllTasksAtStartWithFlowNameNull() throws Exception {
var start = ProcessGraphHelper.findByElementName(process, "start");
- var detectedTasks = processAnalyzer.findAllTasks(start, null);
+ var detectedTasks = processInspector .findAllTasks(start, null);
var names = getTaskNames(detectedTasks);
assertArrayEquals(Arrays.array("UserTask", "Task", "Tasks-TaskA", "Tasks-TaskB"), names);
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/helper/DateTimeHelperTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/helper/DateTimeHelperTest.java
similarity index 96%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/helper/DateTimeHelperTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/helper/DateTimeHelperTest.java
index 9c2c0434..553ecfea 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/helper/DateTimeHelperTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/helper/DateTimeHelperTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test.helper;
+package com.axonivy.utils.process.inspector.test.helper;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -10,7 +10,7 @@
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.helper.DateTimeHelper;
+import com.axonivy.utils.process.inspector.helper.DateTimeHelper;
import ch.ivyteam.ivy.environment.IvyTest;
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/helper/TaskHelperTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/helper/TaskHelperTest.java
similarity index 93%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/helper/TaskHelperTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/helper/TaskHelperTest.java
index 36de3ec8..4d551fc9 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/helper/TaskHelperTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/helper/TaskHelperTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test.helper;
+package com.axonivy.utils.process.inspector.test.helper;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
@@ -6,7 +6,7 @@
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.helper.TaskHelper;
+import com.axonivy.utils.process.inspector.helper.TaskHelper;
import ch.ivyteam.ivy.bpm.engine.client.BpmClient;
import ch.ivyteam.ivy.bpm.engine.client.ExecutionResult;
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/InternalAbstractTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/InternalAbstractTest.java
similarity index 87%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/InternalAbstractTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/InternalAbstractTest.java
index d0ba2042..dc2f80e0 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/InternalAbstractTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/InternalAbstractTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test.internal;
+package com.axonivy.utils.process.inspector.test.internal;
import ch.ivyteam.ivy.environment.Ivy;
import ch.ivyteam.ivy.process.model.Process;
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/ProcessGraphTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/ProcessGraphTest.java
similarity index 87%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/ProcessGraphTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/ProcessGraphTest.java
index 81044a13..a773d3a2 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/ProcessGraphTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/ProcessGraphTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test.internal;
+package com.axonivy.utils.process.inspector.test.internal;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -6,9 +6,9 @@
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.ProcessGraph;
-import com.axonivy.utils.process.analyzer.model.ElementTask;
-import com.axonivy.utils.process.analyzer.test.ProcessGraphHelper;
+import com.axonivy.utils.process.inspector.internal.ProcessGraph;
+import com.axonivy.utils.process.inspector.model.ElementTask;
+import com.axonivy.utils.process.inspector.test.ProcessGraphHelper;
import ch.ivyteam.ivy.environment.IvyTest;
import ch.ivyteam.ivy.process.model.Process;
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/WorkflowDurationTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/WorkflowDurationTest.java
similarity index 86%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/WorkflowDurationTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/WorkflowDurationTest.java
index 3d8931a4..e80420ce 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/WorkflowDurationTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/WorkflowDurationTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test.internal;
+package com.axonivy.utils.process.inspector.test.internal;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -7,10 +7,10 @@
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.WorkflowDuration;
-import com.axonivy.utils.process.analyzer.model.ElementTask;
-import com.axonivy.utils.process.analyzer.test.ProcessGraphHelper;
-import com.axonivy.utils.process.analyzer.test.UseCase;
+import com.axonivy.utils.process.inspector.internal.WorkflowDuration;
+import com.axonivy.utils.process.inspector.model.ElementTask;
+import com.axonivy.utils.process.inspector.test.ProcessGraphHelper;
+import com.axonivy.utils.process.inspector.test.UseCase;
import ch.ivyteam.ivy.environment.IvyTest;
import ch.ivyteam.ivy.process.model.Process;
diff --git a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/WorkflowFinderTest.java b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/WorkflowFinderTest.java
similarity index 81%
rename from process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/WorkflowFinderTest.java
rename to process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/WorkflowFinderTest.java
index 02a82970..ec73888f 100644
--- a/process-analyzer-test/src_test/com/axonivy/utils/process/analyzer/test/internal/WorkflowFinderTest.java
+++ b/process-inspector-test/src_test/com/axonivy/utils/process/inspector/test/internal/WorkflowFinderTest.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.test.internal;
+package com.axonivy.utils.process.inspector.test.internal;
import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -9,11 +9,11 @@
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
-import com.axonivy.utils.process.analyzer.internal.PathFinder;
-import com.axonivy.utils.process.analyzer.internal.model.AnalysisPath;
-import com.axonivy.utils.process.analyzer.internal.model.CommonElement;
-import com.axonivy.utils.process.analyzer.internal.model.ProcessElement;
-import com.axonivy.utils.process.analyzer.test.ProcessGraphHelper;
+import com.axonivy.utils.process.inspector.internal.PathFinder;
+import com.axonivy.utils.process.inspector.internal.model.AnalysisPath;
+import com.axonivy.utils.process.inspector.internal.model.CommonElement;
+import com.axonivy.utils.process.inspector.internal.model.ProcessElement;
+import com.axonivy.utils.process.inspector.test.ProcessGraphHelper;
import ch.ivyteam.ivy.environment.IvyTest;
import ch.ivyteam.ivy.process.model.Process;
diff --git a/process-analyzer-test/webContent/layouts/basic-10.xhtml b/process-inspector-test/webContent/layouts/basic-10.xhtml
similarity index 100%
rename from process-analyzer-test/webContent/layouts/basic-10.xhtml
rename to process-inspector-test/webContent/layouts/basic-10.xhtml
diff --git a/process-analyzer-test/webContent/layouts/includes/exception-details.xhtml b/process-inspector-test/webContent/layouts/includes/exception-details.xhtml
similarity index 100%
rename from process-analyzer-test/webContent/layouts/includes/exception-details.xhtml
rename to process-inspector-test/webContent/layouts/includes/exception-details.xhtml
diff --git a/process-analyzer-test/webContent/layouts/includes/exception.xhtml b/process-inspector-test/webContent/layouts/includes/exception.xhtml
similarity index 100%
rename from process-analyzer-test/webContent/layouts/includes/exception.xhtml
rename to process-inspector-test/webContent/layouts/includes/exception.xhtml
diff --git a/process-analyzer-test/webContent/layouts/includes/footer.xhtml b/process-inspector-test/webContent/layouts/includes/footer.xhtml
similarity index 100%
rename from process-analyzer-test/webContent/layouts/includes/footer.xhtml
rename to process-inspector-test/webContent/layouts/includes/footer.xhtml
diff --git a/process-analyzer-test/webContent/layouts/includes/progress-loader.xhtml b/process-inspector-test/webContent/layouts/includes/progress-loader.xhtml
similarity index 100%
rename from process-analyzer-test/webContent/layouts/includes/progress-loader.xhtml
rename to process-inspector-test/webContent/layouts/includes/progress-loader.xhtml
diff --git a/process-analyzer/.classpath b/process-inspector/.classpath
similarity index 100%
rename from process-analyzer/.classpath
rename to process-inspector/.classpath
diff --git a/process-analyzer-test/.gitignore b/process-inspector/.gitignore
similarity index 88%
rename from process-analyzer-test/.gitignore
rename to process-inspector/.gitignore
index fba859a4..1b2547b2 100644
--- a/process-analyzer-test/.gitignore
+++ b/process-inspector/.gitignore
@@ -1,22 +1,19 @@
-# general
-Thumbs.db
-.DS_Store
-*~
-*.log
-
-# java
-*.class
-hs_err_pid*
-
-# maven
-target/
-lib/mvn-deps/
-
-# ivy
-classes/
-src_dataClasses/
-src_wsproc/
-logs/
-
-# test
-.temp-*
+# general
+Thumbs.db
+.DS_Store
+*~
+*.log
+
+# java
+*.class
+hs_err_pid*
+
+# maven
+target/
+lib/mvn-deps/
+
+# ivy
+classes/
+src_dataClasses/
+src_wsproc/
+logs/
diff --git a/process-analyzer-test/.project b/process-inspector/.project
similarity index 94%
rename from process-analyzer-test/.project
rename to process-inspector/.project
index a1911a7a..f05625a1 100644
--- a/process-analyzer-test/.project
+++ b/process-inspector/.project
@@ -1,60 +1,60 @@
-
-
- process-analyzer-test
-
-
-
-
-
- ch.ivyteam.ivy.designer.dataClasses.ui.ivyDataClassBuilder
-
-
-
-
- ch.ivyteam.ivy.designer.process.ui.ivyWebServiceProcessClassBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.wst.common.project.facet.core.builder
-
-
-
-
- ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder
-
-
-
-
- org.eclipse.pde.ManifestBuilder
-
-
-
-
- org.eclipse.pde.SchemaBuilder
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- ch.ivyteam.ivy.project.IvyProjectNature
- org.eclipse.wst.common.modulecore.ModuleCoreNature
- org.eclipse.jem.workbench.JavaEMFNature
- org.eclipse.jdt.core.javanature
- org.eclipse.m2e.core.maven2Nature
- org.eclipse.jem.beaninfo.BeanInfoNature
- org.eclipse.wst.common.project.facet.core.nature
- org.eclipse.wst.jsdt.core.jsNature
- org.eclipse.pde.PluginNature
-
-
+
+
+ process-inspector
+
+
+
+
+
+ ch.ivyteam.ivy.designer.dataClasses.ui.ivyDataClassBuilder
+
+
+
+
+ ch.ivyteam.ivy.designer.process.ui.ivyWebServiceProcessClassBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.wst.common.project.facet.core.builder
+
+
+
+
+ ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ ch.ivyteam.ivy.project.IvyProjectNature
+ org.eclipse.wst.common.modulecore.ModuleCoreNature
+ org.eclipse.jem.workbench.JavaEMFNature
+ org.eclipse.jdt.core.javanature
+ org.eclipse.m2e.core.maven2Nature
+ org.eclipse.jem.beaninfo.BeanInfoNature
+ org.eclipse.wst.common.project.facet.core.nature
+ org.eclipse.wst.jsdt.core.jsNature
+ org.eclipse.pde.PluginNature
+
+
diff --git a/process-analyzer-demo/.settings/.jsdtscope b/process-inspector/.settings/.jsdtscope
similarity index 97%
rename from process-analyzer-demo/.settings/.jsdtscope
rename to process-inspector/.settings/.jsdtscope
index 869c01da..cf5ec79e 100644
--- a/process-analyzer-demo/.settings/.jsdtscope
+++ b/process-inspector/.settings/.jsdtscope
@@ -1,12 +1,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/process-analyzer-demo/.settings/ch.ivyteam.ivy.designer.prefs b/process-inspector/.settings/ch.ivyteam.ivy.designer.prefs
similarity index 70%
rename from process-analyzer-demo/.settings/ch.ivyteam.ivy.designer.prefs
rename to process-inspector/.settings/ch.ivyteam.ivy.designer.prefs
index 241f480d..3c6cee78 100644
--- a/process-analyzer-demo/.settings/ch.ivyteam.ivy.designer.prefs
+++ b/process-inspector/.settings/ch.ivyteam.ivy.designer.prefs
@@ -1,5 +1,5 @@
-ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.estimator.demo.Data
-ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.estimator.demo
-ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
-ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=112000
-eclipse.preferences.version=1
+ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.process.inspector.Data
+ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.process.inspector
+ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11
+ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=112000
+eclipse.preferences.version=1
diff --git a/process-analyzer-test/.settings/org.eclipse.jdt.core.prefs b/process-inspector/.settings/org.eclipse.jdt.core.prefs
similarity index 98%
rename from process-analyzer-test/.settings/org.eclipse.jdt.core.prefs
rename to process-inspector/.settings/org.eclipse.jdt.core.prefs
index d4540a53..f78f7f77 100644
--- a/process-analyzer-test/.settings/org.eclipse.jdt.core.prefs
+++ b/process-inspector/.settings/org.eclipse.jdt.core.prefs
@@ -1,10 +1,10 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
-org.eclipse.jdt.core.compiler.compliance=17
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
-org.eclipse.jdt.core.compiler.release=enabled
-org.eclipse.jdt.core.compiler.source=17
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
+org.eclipse.jdt.core.compiler.compliance=17
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=17
diff --git a/process-inspector/.settings/org.eclipse.wst.common.component b/process-inspector/.settings/org.eclipse.wst.common.component
new file mode 100644
index 00000000..b72b1682
--- /dev/null
+++ b/process-inspector/.settings/org.eclipse.wst.common.component
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/process-analyzer/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml b/process-inspector/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
similarity index 95%
rename from process-analyzer/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
rename to process-inspector/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
index 9b4b9fcf..0d46547f 100644
--- a/process-analyzer/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
+++ b/process-inspector/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml
@@ -1,7 +1,7 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/process-analyzer/.settings/org.eclipse.wst.common.project.facet.core.xml b/process-inspector/.settings/org.eclipse.wst.common.project.facet.core.xml
similarity index 97%
rename from process-analyzer/.settings/org.eclipse.wst.common.project.facet.core.xml
rename to process-inspector/.settings/org.eclipse.wst.common.project.facet.core.xml
index 156ecdbe..c2098f9c 100644
--- a/process-analyzer/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ b/process-inspector/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,8 +1,8 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/process-analyzer-test/.settings/org.eclipse.wst.css.core.prefs b/process-inspector/.settings/org.eclipse.wst.css.core.prefs
similarity index 97%
rename from process-analyzer-test/.settings/org.eclipse.wst.css.core.prefs
rename to process-inspector/.settings/org.eclipse.wst.css.core.prefs
index 5ddc6bd5..96b96cde 100644
--- a/process-analyzer-test/.settings/org.eclipse.wst.css.core.prefs
+++ b/process-inspector/.settings/org.eclipse.wst.css.core.prefs
@@ -1,2 +1,2 @@
-css-profile/=org.eclipse.wst.css.core.cssprofile.css3
-eclipse.preferences.version=1
+css-profile/=org.eclipse.wst.css.core.cssprofile.css3
+eclipse.preferences.version=1
diff --git a/process-analyzer/.settings/org.eclipse.wst.jsdt.ui.superType.container b/process-inspector/.settings/org.eclipse.wst.jsdt.ui.superType.container
similarity index 100%
rename from process-analyzer/.settings/org.eclipse.wst.jsdt.ui.superType.container
rename to process-inspector/.settings/org.eclipse.wst.jsdt.ui.superType.container
diff --git a/process-analyzer/.settings/org.eclipse.wst.jsdt.ui.superType.name b/process-inspector/.settings/org.eclipse.wst.jsdt.ui.superType.name
similarity index 100%
rename from process-analyzer/.settings/org.eclipse.wst.jsdt.ui.superType.name
rename to process-inspector/.settings/org.eclipse.wst.jsdt.ui.superType.name
diff --git a/process-inspector/META-INF/MANIFEST.MF b/process-inspector/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..5cf65c30
--- /dev/null
+++ b/process-inspector/META-INF/MANIFEST.MF
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: process-inspector
+Bundle-SymbolicName: process-inspector
+Bundle-Version: 1.0.0.qualifier
+Bundle-RequiredExecutionEnvironment: JavaSE-17
+Automatic-Module-Name: process.inspector
+Require-Bundle: ch.ivyteam.ivy.process.rdm;bundle-version="11.2.1"
diff --git a/process-inspector/build.properties b/process-inspector/build.properties
new file mode 100644
index 00000000..17f8f0c5
--- /dev/null
+++ b/process-inspector/build.properties
@@ -0,0 +1,3 @@
+source.. = src/,\
+bin.includes = META-INF/,\
+ .
diff --git a/process-analyzer/jar.xml b/process-inspector/jar.xml
similarity index 100%
rename from process-analyzer/jar.xml
rename to process-inspector/jar.xml
diff --git a/process-analyzer/pom.xml b/process-inspector/pom.xml
similarity index 91%
rename from process-analyzer/pom.xml
rename to process-inspector/pom.xml
index 64efc50f..db8a2afd 100644
--- a/process-analyzer/pom.xml
+++ b/process-inspector/pom.xml
@@ -1,8 +1,8 @@
4.0.0
- com.axonivy.utils.process.analyzer
- process-analyzer
+ com.axonivy.utils.process.inspector
+ process-inspector
11.2.1-SNAPSHOT
iar
@@ -62,7 +62,7 @@
maven-release-plugin
3.0.0-M4
- process-analyzer-v@{project.version}
+ process-inspector-v@{project.version}
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/APAConfig.java b/process-inspector/src/com/axonivy/utils/process/inspector/APAConfig.java
similarity index 87%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/APAConfig.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/APAConfig.java
index 45edf9e9..395903ca 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/APAConfig.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/APAConfig.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer;
+package com.axonivy.utils.process.inspector;
import java.util.concurrent.TimeUnit;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/AdvancedProcessAnalyzer.java b/process-inspector/src/com/axonivy/utils/process/inspector/ProcessInspector.java
similarity index 85%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/AdvancedProcessAnalyzer.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/ProcessInspector.java
index 7837b24d..88d6737c 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/AdvancedProcessAnalyzer.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/ProcessInspector.java
@@ -1,38 +1,36 @@
-package com.axonivy.utils.process.analyzer;
+package com.axonivy.utils.process.inspector;
import java.time.Duration;
import java.util.List;
import java.util.Map;
-import com.axonivy.utils.process.analyzer.model.DetectedElement;
-import com.axonivy.utils.process.analyzer.model.ElementTask;
+import com.axonivy.utils.process.inspector.model.DetectedElement;
+import com.axonivy.utils.process.inspector.model.ElementTask;
import ch.ivyteam.ivy.process.model.BaseElement;
import ch.ivyteam.ivy.workflow.ICase;
/**
- * The AdvancedProcessAnalyzer tool is used to calculate duration to finish a
+ * The Process Inspector tool is used to calculate duration to finish a
* workflow case. It will list all tasks which must finish with duration until
* end base on estimate duration.
*
* The process diagram below with estimate duration for each task. start -> Task
- * A (1h) -> [alternative] -{internal}-> Task B (2h) -> EndTask |------------>
- * Task C (3h) -> EndTask How to find all tasks ? AdvancedProcessAnalyzer
- * processAnalyzer = new ProcessAnalyzer(); List result =
- * processAnalyzer.findAllTasks(start, UseCase.BIGPROJECT); Result: Task A (1h),
- * Task B (3h), Task C (4h) => So duration to finish all tasks will task 4hours
- *
- * How to find tasks on path? AdvancedProcessAnalyzer processAnalyzer = new
- * ProcessAnalyzer(); List result =
- * processAnalyzer.findTasksOnPath(start, UseCase.BIGPROJECT, "internal");
- * Result: Task A (1h), Task B (3h) So duration to finish all tasks will task
- * 3hours
+ * A (1h) -> [alternative] -{internal}-> Task B (2h) -> EndTask
+ * |------------> Task C (3h) -> EndTask
+ * How to find all tasks ?
+ * ProcessInspector ProcessInspector = new ProcessAnalyzer();
+ * List result = processAnalyzer.findAllTasks(start, UseCase.BIGPROJECT); Result:
+ * Task A (1h), Task B (3h), Task C (4h) => So duration to finish all tasks will task 4hours
+ * How to find tasks on path? ProcessInspector processInspector = new ProcessInspector();
+ * List result = processInspector.findTasksOnPath(start, UseCase.BIGPROJECT, "internal");
+ * Result: Task A (1h), Task B (3h) So duration to finish all tasks will task 3hours
*/
-public interface AdvancedProcessAnalyzer {
+public interface ProcessInspector {
/**
- * If this option is enabled, the Advanced Process Analyzer will also add all
+ * If this option is enabled, the Process Inspector will also add all
* alternative elements to the result. This option will affect findTasksOnPath
* as well as findAllTasks method. Disabled by default. When it bypasses an
* alternative element, it will be added to the result list.
@@ -129,7 +127,7 @@ public List findTasksOnPath(List startAtElements,
* This method can be used to calculate expected worst case duration from a
* starting point in a process until all task are done and end of process is
* reached. In case of parallel process flows, it will always use the “critical
- * path” (which means path with longer duration).
+ * path�? (which means path with longer duration).
*
* @param startElement - Element where we start traversing the process
* @param useCase - Use case that should be used to read duration values.
@@ -143,7 +141,7 @@ public List findTasksOnPath(List startAtElements,
* This method can be used to calculate expected worst case duration from a
* starting point in a process until all task are done and end of process is
* reached. In case of parallel process flows, it will always use the “critical
- * path” (which means path with longer duration).
+ * path�? (which means path with longer duration).
*
* @param startElements - Elements where we start traversing the process. In
* case of parallel tasks, the list will contain multiple
@@ -159,7 +157,7 @@ public List findTasksOnPath(List startAtElements,
* This method can be used to calculate expected worst case duration from a
* starting point in a process until all task are done and end of process is
* reached. In case of parallel process flows, it will always use the “critical
- * path” (which means path with longer duration).
+ * path�? (which means path with longer duration).
*
* @param startElement - Elements where we start traversing the process. In case
* of parallel tasks, the list will contain multiple
@@ -175,7 +173,7 @@ public List findTasksOnPath(List startAtElements,
/**
* This method can be used to calculate expected duration from a starting point
* using a named flow or default flow. For parallel segments of the process, it
- * will still use the “critical path” (same logic like worst case duration).
+ * will still use the "critical path" (same logic like worst case duration).
*
* @param startElement - Element where we start traversing the process
* @param useCase - Use case that should be used to read duration values.
@@ -189,7 +187,7 @@ public Duration calculateDurationOfPath(BaseElement startElement, Enum> useCas
/**
* This method can be used to calculate expected duration from a starting point
* using a named flow or default flow. For parallel segments of the process, it
- * will still use the “critical path� (same logic like worst case duration).
+ * will still use the "critical path" (same logic like worst case duration).
*
* @param useCase - Use case that should be used to read duration values.
* Durations will be set to 0 in case not provided.
@@ -202,7 +200,7 @@ public Duration calculateDurationOfPath(List startElements, Enum>
/**
* This method can be used to calculate expected duration from a starting point
* using a named flow or default flow. For parallel segments of the process, it
- * will still use the “critical path” (same logic like worst case duration).
+ * will still use the "critical path" (same logic like worst case duration).
*
* @param startElement - Elements where we start traversing the process. In case
* of parallel tasks, the list will contain multiple
@@ -223,7 +221,7 @@ public Duration calculateDurationOfPath(List startElements, Enum>
* PID
* @return
*/
- public AdvancedProcessAnalyzer setProcessFlowOverrides(Map processFlowOverrides);
+ public ProcessInspector setProcessFlowOverrides(Map processFlowOverrides);
/**
* This method can be used to override configured task duration of the model by
@@ -236,5 +234,5 @@ public Duration calculateDurationOfPath(List startElements, Enum>
* value: new duration
* @return
*/
- public AdvancedProcessAnalyzer setDurationOverrides(Map durationOverrides);
+ public ProcessInspector setDurationOverrides(Map durationOverrides);
}
\ No newline at end of file
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/helper/DateTimeHelper.java b/process-inspector/src/com/axonivy/utils/process/inspector/helper/DateTimeHelper.java
similarity index 92%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/helper/DateTimeHelper.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/helper/DateTimeHelper.java
index 87ad120e..81c08919 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/helper/DateTimeHelper.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/helper/DateTimeHelper.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.helper;
+package com.axonivy.utils.process.inspector.helper;
import java.time.Duration;
import java.util.Date;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/helper/TaskHelper.java b/process-inspector/src/com/axonivy/utils/process/inspector/helper/TaskHelper.java
similarity index 95%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/helper/TaskHelper.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/helper/TaskHelper.java
index d57669db..2089f1c6 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/helper/TaskHelper.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/helper/TaskHelper.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.helper;
+package com.axonivy.utils.process.inspector.helper;
import ch.ivyteam.ivy.process.model.BaseElement;
import ch.ivyteam.ivy.process.model.Process;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/ProcessAnalyzer.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/AdvancedProcessInspector.java
similarity index 91%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/ProcessAnalyzer.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/AdvancedProcessInspector.java
index df300bd5..a447068e 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/ProcessAnalyzer.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/AdvancedProcessInspector.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal;
+package com.axonivy.utils.process.inspector.internal;
import static java.util.Collections.emptyMap;
import static java.util.Optional.ofNullable;
@@ -14,14 +14,14 @@
import org.apache.commons.lang3.ArrayUtils;
-import com.axonivy.utils.process.analyzer.AdvancedProcessAnalyzer;
-import com.axonivy.utils.process.analyzer.helper.DateTimeHelper;
-import com.axonivy.utils.process.analyzer.helper.TaskHelper;
-import com.axonivy.utils.process.analyzer.internal.model.CommonElement;
-import com.axonivy.utils.process.analyzer.internal.model.ProcessElement;
-import com.axonivy.utils.process.analyzer.model.DetectedElement;
-import com.axonivy.utils.process.analyzer.model.DetectedTask;
-import com.axonivy.utils.process.analyzer.model.ElementTask;
+import com.axonivy.utils.process.inspector.ProcessInspector;
+import com.axonivy.utils.process.inspector.helper.DateTimeHelper;
+import com.axonivy.utils.process.inspector.helper.TaskHelper;
+import com.axonivy.utils.process.inspector.internal.model.CommonElement;
+import com.axonivy.utils.process.inspector.internal.model.ProcessElement;
+import com.axonivy.utils.process.inspector.model.DetectedElement;
+import com.axonivy.utils.process.inspector.model.DetectedTask;
+import com.axonivy.utils.process.inspector.model.ElementTask;
import ch.ivyteam.ivy.process.model.BaseElement;
import ch.ivyteam.ivy.process.model.ProcessKind;
@@ -32,7 +32,7 @@
import ch.ivyteam.ivy.workflow.ITask;
import ch.ivyteam.ivy.workflow.TaskState;
-public class ProcessAnalyzer implements AdvancedProcessAnalyzer {
+public class AdvancedProcessInspector implements ProcessInspector {
private static final List OPEN_TASK_STATES = List.of(TaskState.SUSPENDED, TaskState.PARKED,
TaskState.RESUMED, TaskState.WAITING_FOR_INTERMEDIATE_EVENT);
@@ -126,13 +126,13 @@ public Duration calculateDurationOfPath(ICase icase, Enum> useCase, String flo
}
@Override
- public AdvancedProcessAnalyzer setProcessFlowOverrides(Map processFlowOverrides) {
+ public ProcessInspector setProcessFlowOverrides(Map processFlowOverrides) {
this.processFlowOverrides = processFlowOverrides;
return this;
}
@Override
- public AdvancedProcessAnalyzer setDurationOverrides(Map durationOverrides) {
+ public ProcessInspector setDurationOverrides(Map durationOverrides) {
this.durationOverrides = durationOverrides;
return this;
}
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/PathFinder.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/PathFinder.java
similarity index 97%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/PathFinder.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/PathFinder.java
index f94f1fba..56ebcfc4 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/PathFinder.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/PathFinder.java
@@ -1,8 +1,8 @@
-package com.axonivy.utils.process.analyzer.internal;
+package com.axonivy.utils.process.inspector.internal;
-import static com.axonivy.utils.process.analyzer.internal.helper.AnalysisPathHelper.addAllToPath;
-import static com.axonivy.utils.process.analyzer.internal.helper.AnalysisPathHelper.addToPath;
-import static com.axonivy.utils.process.analyzer.internal.helper.AnalysisPathHelper.replaceFirstElement;
+import static com.axonivy.utils.process.inspector.internal.helper.AnalysisPathHelper.addAllToPath;
+import static com.axonivy.utils.process.inspector.internal.helper.AnalysisPathHelper.addToPath;
+import static com.axonivy.utils.process.inspector.internal.helper.AnalysisPathHelper.replaceFirstElement;
import static java.util.Collections.emptyList;
import static java.util.Collections.emptyMap;
import static java.util.Collections.emptySet;
@@ -27,12 +27,12 @@
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.collections4.SetUtils;
-import com.axonivy.utils.process.analyzer.internal.helper.AnalysisPathHelper;
-import com.axonivy.utils.process.analyzer.internal.model.AnalysisPath;
-import com.axonivy.utils.process.analyzer.internal.model.CommonElement;
-import com.axonivy.utils.process.analyzer.internal.model.ProcessElement;
-import com.axonivy.utils.process.analyzer.internal.model.SubProcessGroup;
-import com.axonivy.utils.process.analyzer.internal.model.TaskParallelGroup;
+import com.axonivy.utils.process.inspector.internal.helper.AnalysisPathHelper;
+import com.axonivy.utils.process.inspector.internal.model.AnalysisPath;
+import com.axonivy.utils.process.inspector.internal.model.CommonElement;
+import com.axonivy.utils.process.inspector.internal.model.ProcessElement;
+import com.axonivy.utils.process.inspector.internal.model.SubProcessGroup;
+import com.axonivy.utils.process.inspector.internal.model.TaskParallelGroup;
import ch.ivyteam.ivy.process.model.BaseElement;
import ch.ivyteam.ivy.process.model.HierarchicElement;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/ProcessGraph.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/ProcessGraph.java
similarity index 96%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/ProcessGraph.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/ProcessGraph.java
index 5d739df4..3d1b6072 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/ProcessGraph.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/ProcessGraph.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal;
+package com.axonivy.utils.process.inspector.internal;
import static org.apache.commons.lang3.StringUtils.EMPTY;
import static org.apache.commons.lang3.StringUtils.defaultString;
@@ -11,11 +11,9 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;
-import org.apache.commons.collections4.CollectionUtils;
-import org.apache.commons.collections4.ListUtils;
import org.apache.commons.lang3.StringUtils;
-import com.axonivy.utils.process.analyzer.model.ElementTask;
+import com.axonivy.utils.process.inspector.model.ElementTask;
import ch.ivyteam.ivy.process.model.BaseElement;
import ch.ivyteam.ivy.process.model.EmbeddedProcess;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/WorkflowDuration.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/WorkflowDuration.java
similarity index 95%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/WorkflowDuration.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/WorkflowDuration.java
index 73902dff..3b213475 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/WorkflowDuration.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/WorkflowDuration.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal;
+package com.axonivy.utils.process.inspector.internal;
import static java.util.Collections.emptyMap;
import static java.util.Optional.ofNullable;
@@ -13,7 +13,7 @@
import org.apache.commons.lang3.StringUtils;
-import com.axonivy.utils.process.analyzer.model.ElementTask;
+import com.axonivy.utils.process.inspector.model.ElementTask;
public class WorkflowDuration {
private ProcessGraph processGraph;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/WorkflowPath.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/WorkflowPath.java
similarity index 94%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/WorkflowPath.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/WorkflowPath.java
index fcd15207..bdcc5f54 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/WorkflowPath.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/WorkflowPath.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal;
+package com.axonivy.utils.process.inspector.internal;
import static java.util.Collections.emptyList;
import static java.util.Collections.emptyMap;
@@ -19,15 +19,15 @@
import org.apache.commons.collections4.map.HashedMap;
import org.apache.commons.lang3.StringUtils;
-import com.axonivy.utils.process.analyzer.internal.model.AnalysisPath;
-import com.axonivy.utils.process.analyzer.internal.model.CommonElement;
-import com.axonivy.utils.process.analyzer.internal.model.ProcessElement;
-import com.axonivy.utils.process.analyzer.internal.model.SubProcessGroup;
-import com.axonivy.utils.process.analyzer.internal.model.TaskParallelGroup;
-import com.axonivy.utils.process.analyzer.model.DetectedAlternative;
-import com.axonivy.utils.process.analyzer.model.DetectedElement;
-import com.axonivy.utils.process.analyzer.model.DetectedTask;
-import com.axonivy.utils.process.analyzer.model.ElementTask;
+import com.axonivy.utils.process.inspector.internal.model.AnalysisPath;
+import com.axonivy.utils.process.inspector.internal.model.CommonElement;
+import com.axonivy.utils.process.inspector.internal.model.ProcessElement;
+import com.axonivy.utils.process.inspector.internal.model.SubProcessGroup;
+import com.axonivy.utils.process.inspector.internal.model.TaskParallelGroup;
+import com.axonivy.utils.process.inspector.model.DetectedAlternative;
+import com.axonivy.utils.process.inspector.model.DetectedElement;
+import com.axonivy.utils.process.inspector.model.DetectedTask;
+import com.axonivy.utils.process.inspector.model.ElementTask;
import ch.ivyteam.ivy.process.model.HierarchicElement;
import ch.ivyteam.ivy.process.model.connector.SequenceFlow;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/helper/AnalysisPathHelper.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/helper/AnalysisPathHelper.java
similarity index 90%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/helper/AnalysisPathHelper.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/helper/AnalysisPathHelper.java
index fd9884f7..53642488 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/helper/AnalysisPathHelper.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/helper/AnalysisPathHelper.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal.helper;
+package com.axonivy.utils.process.inspector.internal.helper;
import static java.util.Collections.emptyList;
import static org.apache.commons.collections4.CollectionUtils.isNotEmpty;
@@ -10,10 +10,10 @@
import org.apache.commons.collections4.ListUtils;
-import com.axonivy.utils.process.analyzer.internal.model.AnalysisPath;
-import com.axonivy.utils.process.analyzer.internal.model.CommonElement;
-import com.axonivy.utils.process.analyzer.internal.model.ProcessElement;
-import com.axonivy.utils.process.analyzer.internal.model.TaskParallelGroup;
+import com.axonivy.utils.process.inspector.internal.model.AnalysisPath;
+import com.axonivy.utils.process.inspector.internal.model.CommonElement;
+import com.axonivy.utils.process.inspector.internal.model.ProcessElement;
+import com.axonivy.utils.process.inspector.internal.model.TaskParallelGroup;
import ch.ivyteam.ivy.process.model.NodeElement;
import ch.ivyteam.ivy.process.model.connector.SequenceFlow;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/AnalysisPath.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/AnalysisPath.java
similarity index 89%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/AnalysisPath.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/model/AnalysisPath.java
index f2de3d47..f4cd8c08 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/AnalysisPath.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/AnalysisPath.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal.model;
+package com.axonivy.utils.process.inspector.internal.model;
import java.util.ArrayList;
import java.util.List;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/CommonElement.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/CommonElement.java
similarity index 92%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/CommonElement.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/model/CommonElement.java
index c3af2a14..24cfaebf 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/CommonElement.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/CommonElement.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal.model;
+package com.axonivy.utils.process.inspector.internal.model;
import java.util.Objects;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/ProcessElement.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/ProcessElement.java
similarity index 76%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/ProcessElement.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/model/ProcessElement.java
index 9e99879c..0cd265c7 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/ProcessElement.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/ProcessElement.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal.model;
+package com.axonivy.utils.process.inspector.internal.model;
import ch.ivyteam.ivy.process.model.BaseElement;
import ch.ivyteam.ivy.process.model.value.PID;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/SubProcessGroup.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/SubProcessGroup.java
similarity index 92%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/SubProcessGroup.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/model/SubProcessGroup.java
index 248c0ed8..6890bfe1 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/SubProcessGroup.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/SubProcessGroup.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal.model;
+package com.axonivy.utils.process.inspector.internal.model;
import static org.apache.commons.lang3.StringUtils.EMPTY;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/TaskParallelGroup.java b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/TaskParallelGroup.java
similarity index 96%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/TaskParallelGroup.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/internal/model/TaskParallelGroup.java
index 568c750f..a4849467 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/TaskParallelGroup.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/internal/model/TaskParallelGroup.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.internal.model;
+package com.axonivy.utils.process.inspector.internal.model;
import static org.apache.commons.lang3.StringUtils.EMPTY;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedAlternative.java b/process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedAlternative.java
similarity index 87%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedAlternative.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedAlternative.java
index 376c6ab9..d3055f93 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedAlternative.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedAlternative.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.model;
+package com.axonivy.utils.process.inspector.model;
import java.util.List;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedElement.java b/process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedElement.java
similarity index 93%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedElement.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedElement.java
index e7ba64be..ee747e14 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedElement.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedElement.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.model;
+package com.axonivy.utils.process.inspector.model;
import java.util.stream.Collectors;
import java.util.stream.Stream;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedTask.java b/process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedTask.java
similarity index 97%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedTask.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedTask.java
index b5bd6287..477100f5 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/model/DetectedTask.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/model/DetectedTask.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.model;
+package com.axonivy.utils.process.inspector.model;
import static java.util.Collections.emptyList;
diff --git a/process-analyzer/src/com/axonivy/utils/process/analyzer/model/ElementTask.java b/process-inspector/src/com/axonivy/utils/process/inspector/model/ElementTask.java
similarity index 95%
rename from process-analyzer/src/com/axonivy/utils/process/analyzer/model/ElementTask.java
rename to process-inspector/src/com/axonivy/utils/process/inspector/model/ElementTask.java
index b4abe92a..19341a04 100644
--- a/process-analyzer/src/com/axonivy/utils/process/analyzer/model/ElementTask.java
+++ b/process-inspector/src/com/axonivy/utils/process/inspector/model/ElementTask.java
@@ -1,4 +1,4 @@
-package com.axonivy.utils.process.analyzer.model;
+package com.axonivy.utils.process.inspector.model;
import java.util.Objects;
import java.util.stream.Collectors;