Skip to content

Commit 81893c5

Browse files
Change ScaPackageData, added two properties for hide dev and test dependencies
1 parent 6cffad3 commit 81893c5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/com/checkmarx/ast/results/result/ScaPackageData.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,26 @@ public class ScaPackageData {
2020
boolean outdated;
2121
boolean supportsQuickFix;
2222
String typeOfDependency;
23+
boolean isDevelopmentDependency;
24+
boolean isTestDependency;
2325

2426

2527
public ScaPackageData(@JsonProperty("Id") String id,
2628
@JsonProperty("fixLink") String fixLink,
2729
@JsonProperty("dependencyPaths") List<List<DependencyPath>> dependencyPaths,
2830
@JsonProperty("outdated") boolean outdated,
2931
@JsonProperty("supportsQuickFix") boolean supportsQuickFix,
30-
@JsonProperty("typeOfDependency") String typeOfDependency) {
32+
@JsonProperty("typeOfDependency") String typeOfDependency,
33+
@JsonProperty("isDevelopmentDependency") boolean isDevelopmentDependency,
34+
@JsonProperty("isTestDependency") boolean isTestDependency) {
3135

3236
Id = id;
3337
this.fixLink = fixLink;
3438
this.dependencyPaths = dependencyPaths;
3539
this.outdated = outdated;
3640
this.supportsQuickFix = supportsQuickFix;
3741
this.typeOfDependency = typeOfDependency;
42+
this.isDevelopmentDependency = isDevelopmentDependency;
43+
this.isTestDependency = isTestDependency;
3844
}
3945
}

0 commit comments

Comments
 (0)