-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ac1ae8
commit 32c8824
Showing
9 changed files
with
173 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" path="src_wsproc"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" path="src_dataClasses"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry exported="true" kind="con" path="IVY_CONTAINER"/> | ||
<classpathentry kind="con" path="WEBAPP_CONTAINER"/> | ||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> | ||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" path="src_wsproc"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" path="src_dataClasses"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> | ||
<attributes> | ||
<attribute name="module" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry exported="true" kind="con" path="IVY_CONTAINER"/> | ||
<classpathentry exported="true" kind="con" path="WEBAPP_CONTAINER"/> | ||
<classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> | ||
<classpathentry exported="true" kind="con" path="org.eclipse.pde.core.requiredPlugins"/> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/constant/UseCase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package com.axonivy.utils.process.analyzer.demo.constant; | ||
|
||
public enum UseCase { | ||
BIGPROJECT, MEDIUMPROJECT, SMALLPROJECT | ||
BIGPROJECT, MEDIUMPROJECT, SMALLPROJECT, LARGE | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
process-analyzer/src/com/axonivy/utils/process/analyzer/internal/constant/FindType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.axonivy.utils.process.analyzer.internal.constant; | ||
|
||
public enum FindType { | ||
ALL_TASKS, TASKS_ON_PATH | ||
} |
86 changes: 86 additions & 0 deletions
86
...ess-analyzer/src/com/axonivy/utils/process/analyzer/internal/model/FindPathProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
package com.axonivy.utils.process.analyzer.internal.model; | ||
|
||
import java.util.List; | ||
|
||
import com.axonivy.utils.process.analyzer.internal.constant.FindType; | ||
|
||
public class FindPathProcessor { | ||
private final ProcessElement from; | ||
private final String flowName; | ||
private final FindType findType; | ||
private final List<AnalysisPath> currentPath; | ||
|
||
public ProcessElement getFrom() { | ||
return from; | ||
} | ||
|
||
public String getFlowName() { | ||
return flowName; | ||
} | ||
|
||
public FindType getFindType() { | ||
return findType; | ||
} | ||
|
||
public List<AnalysisPath> getCurrentPath() { | ||
return currentPath; | ||
} | ||
|
||
public FindPathProcessor(FindPathProcessorBuilder builder) { | ||
this.from = builder.getFrom(); | ||
this.flowName = builder.getFlowName(); | ||
this.findType = builder.getFindType(); | ||
this.currentPath = builder.getCurrentPath(); | ||
} | ||
|
||
public static class FindPathProcessorBuilder { | ||
private ProcessElement from; | ||
private String flowName; | ||
private FindType findType; | ||
private List<AnalysisPath> currentPath; | ||
|
||
public FindPathProcessorBuilder builder() { | ||
return new FindPathProcessorBuilder(); | ||
} | ||
|
||
public FindPathProcessorBuilder from(ProcessElement from) { | ||
this.from = from; | ||
return this; | ||
} | ||
|
||
public FindPathProcessorBuilder flowName(String flowName) { | ||
this.flowName = flowName; | ||
return this; | ||
} | ||
|
||
public FindPathProcessorBuilder findType(FindType findType) { | ||
this.findType = findType; | ||
return this; | ||
} | ||
|
||
public FindPathProcessorBuilder currentPath(List<AnalysisPath> currentPath) { | ||
this.currentPath = currentPath; | ||
return this; | ||
} | ||
|
||
public FindPathProcessor build() { | ||
return new FindPathProcessor(this); | ||
} | ||
|
||
public ProcessElement getFrom() { | ||
return from; | ||
} | ||
|
||
public String getFlowName() { | ||
return flowName; | ||
} | ||
|
||
public FindType getFindType() { | ||
return findType; | ||
} | ||
|
||
public List<AnalysisPath> getCurrentPath() { | ||
return currentPath; | ||
} | ||
} | ||
} |