Add fix for Download-Only deployment type on DDI-API (#848)

Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com>
This commit is contained in:
Jeroen Laverman
2019-06-12 15:43:29 +02:00
committed by GitHub
parent be17958f4a
commit 34fc7a7012
3 changed files with 169 additions and 25 deletions

View File

@@ -142,6 +142,13 @@ public interface Action extends TenantAwareBaseEntity {
return ActionType.FORCED == getActionType();
}
/**
* @return true when action is downloadonly, false otherwise
*/
default boolean isDownloadOnly() {
return ActionType.DOWNLOAD_ONLY == getActionType();
}
/**
* Action status as reported by the controller.
*