Map uninstall flag

This commit is contained in:
Rene Pfeuffer
2019-09-16 14:43:45 +02:00
parent 5a8ed638dd
commit 695f4d58b9
2 changed files with 2 additions and 0 deletions

View File

@@ -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) {

View File

@@ -83,6 +83,7 @@ public abstract class PluginDtoMapper {
});
dto.setCore(plugin.isCore());
dto.setMarkedForUninstall(plugin.isMarkedForUninstall());
return dto;
}