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