Skip to content

Commit 7deb8a4

Browse files
committed
IProductDeployer.listProducts returns Map<String, Boolean>, ProductInfo now contains field appliedVersionsUrl
1 parent ed2b9d7 commit 7deb8a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/scm4j/deployer/api/IProductDeployer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.scm4j.deployer.api;
22

3-
import java.util.List;
43
import java.util.Map;
54

65
public interface IProductDeployer {
@@ -13,9 +12,9 @@ public interface IProductDeployer {
1312

1413
Map<String, ProductInfo> refreshProducts();
1514

16-
List<String> listProductVersions(String simpleName);
15+
Map<String, Boolean> listProductVersions(String simpleName);
1716

18-
List<String> refreshProductVersions(String simpleName);
17+
Map<String, Boolean> refreshProductVersions(String simpleName);
1918

2019
Map<String, String> mapDeployedProducts();
2120

src/main/java/org/scm4j/deployer/api/ProductInfo.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
@Data
66
public class ProductInfo {
77
private final String artifactId;
8+
private final String appliedVersionsUrl;
89
private final boolean hidden;
910
}

0 commit comments

Comments
 (0)