From a2995047e495359bc52a520ae64b122bb1707a59 Mon Sep 17 00:00:00 2001 From: jan-vcapgemini Date: Sat, 24 Feb 2024 00:38:11 +0100 Subject: [PATCH] #103: implemented requested changes added javadocs --- .../ide/tool/SecurityRiskInteractionAnswer.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/cli/src/main/java/com/devonfw/tools/ide/tool/SecurityRiskInteractionAnswer.java b/cli/src/main/java/com/devonfw/tools/ide/tool/SecurityRiskInteractionAnswer.java index 79c086969..9a421f18e 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/tool/SecurityRiskInteractionAnswer.java +++ b/cli/src/main/java/com/devonfw/tools/ide/tool/SecurityRiskInteractionAnswer.java @@ -1,13 +1,29 @@ package com.devonfw.tools.ide.tool; +/** + * User interaction answers when a security risk was found and the user can f.e. choose to stay on the current unsafe + * version, use the latest safe version, use the latest version or use the next safe version. + */ public enum SecurityRiskInteractionAnswer { + /** + * User answer to stay on the current unsafe version. + */ STAY, + /** + * User answer to install the latest of all safe versions. + */ LATEST_SAFE, + /** + * User answer to use the latest safe version. + */ SAFE_LATEST, + /** + * User answer to use the next safe version. + */ NEXT_SAFE, }