mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
Map uninstall flag
This commit is contained in:
@@ -27,6 +27,7 @@ public class PluginDto extends HalRepresentation {
|
|||||||
private boolean pending;
|
private boolean pending;
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
private Boolean core;
|
private Boolean core;
|
||||||
|
private Boolean markedForUninstall;
|
||||||
private Set<String> dependencies;
|
private Set<String> dependencies;
|
||||||
|
|
||||||
public PluginDto(Links links) {
|
public PluginDto(Links links) {
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ public abstract class PluginDtoMapper {
|
|||||||
});
|
});
|
||||||
|
|
||||||
dto.setCore(plugin.isCore());
|
dto.setCore(plugin.isCore());
|
||||||
|
dto.setMarkedForUninstall(plugin.isMarkedForUninstall());
|
||||||
|
|
||||||
return dto;
|
return dto;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user