Default problem severity for generations problem markers
This commit is contained in:
@@ -11,10 +11,9 @@
|
||||
package org.springframework.ide.vscode.boot.validation.generations.preferences;
|
||||
|
||||
import static org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemSeverity.HINT;
|
||||
import static org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemSeverity.ERROR;
|
||||
import static org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemSeverity.IGNORE;
|
||||
import static org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemSeverity.INFO;
|
||||
import static org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemSeverity.WARNING;
|
||||
import static org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemSeverity.IGNORE;
|
||||
|
||||
import org.springframework.ide.vscode.boot.common.SpringProblemCategories;
|
||||
import org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemCategory;
|
||||
@@ -23,13 +22,13 @@ import org.springframework.ide.vscode.commons.languageserver.reconcile.ProblemTy
|
||||
|
||||
public enum VersionValidationProblemType implements ProblemType {
|
||||
|
||||
SUPPORTED_OSS_VERSION(HINT, "Supported OSS Boot Version", "Supported OSS Boot Version"),
|
||||
SUPPORTED_OSS_VERSION(IGNORE, "Supported OSS Boot Version", "Supported OSS Boot Version"),
|
||||
|
||||
UNSUPPORTED_OSS_VERSION(ERROR, "Unsupported OSS Version", "Unsupported OSS Version"),
|
||||
UNSUPPORTED_OSS_VERSION(HINT, "Unsupported OSS Version", "Unsupported OSS Version"),
|
||||
|
||||
UNSUPPORTED_COMMERCIAL_VERSION(ERROR, "Unsupported Commercial Version", "Unsupported Commercial Version"),
|
||||
UNSUPPORTED_COMMERCIAL_VERSION(HINT, "Unsupported Commercial Version", "Unsupported Commercial Version"),
|
||||
|
||||
SUPPORTED_COMMERCIAL_VERSION(HINT, "Supported Commercial Version", "Supported Commercial Version"),
|
||||
SUPPORTED_COMMERCIAL_VERSION(IGNORE, "Supported Commercial Version", "Supported Commercial Version"),
|
||||
|
||||
UPDATE_LATEST_MAJOR_VERSION(IGNORE, "Update to Latest Major Version", "Update to Latest Major Version"),
|
||||
|
||||
|
||||
@@ -337,25 +337,25 @@
|
||||
"code": "SUPPORTED_OSS_VERSION",
|
||||
"label": "Supported OSS Boot Version",
|
||||
"description": "Supported OSS Boot Version",
|
||||
"defaultSeverity": "HINT"
|
||||
"defaultSeverity": "IGNORE"
|
||||
},
|
||||
{
|
||||
"code": "UNSUPPORTED_OSS_VERSION",
|
||||
"label": "Unsupported OSS Version",
|
||||
"description": "Unsupported OSS Version",
|
||||
"defaultSeverity": "ERROR"
|
||||
"defaultSeverity": "HINT"
|
||||
},
|
||||
{
|
||||
"code": "UNSUPPORTED_COMMERCIAL_VERSION",
|
||||
"label": "Unsupported Commercial Version",
|
||||
"description": "Unsupported Commercial Version",
|
||||
"defaultSeverity": "ERROR"
|
||||
"defaultSeverity": "HINT"
|
||||
},
|
||||
{
|
||||
"code": "SUPPORTED_COMMERCIAL_VERSION",
|
||||
"label": "Supported Commercial Version",
|
||||
"description": "Supported Commercial Version",
|
||||
"defaultSeverity": "HINT"
|
||||
"defaultSeverity": "IGNORE"
|
||||
},
|
||||
{
|
||||
"code": "UPDATE_LATEST_MAJOR_VERSION",
|
||||
|
||||
@@ -892,7 +892,7 @@
|
||||
},
|
||||
"spring-boot.ls.problem.version-validation.SUPPORTED_OSS_VERSION": {
|
||||
"type": "string",
|
||||
"default": "HINT",
|
||||
"default": "IGNORE",
|
||||
"description": "Supported OSS Boot Version",
|
||||
"enum": [
|
||||
"IGNORE",
|
||||
@@ -904,7 +904,7 @@
|
||||
},
|
||||
"spring-boot.ls.problem.version-validation.UNSUPPORTED_OSS_VERSION": {
|
||||
"type": "string",
|
||||
"default": "ERROR",
|
||||
"default": "HINT",
|
||||
"description": "Unsupported OSS Version",
|
||||
"enum": [
|
||||
"IGNORE",
|
||||
@@ -916,7 +916,7 @@
|
||||
},
|
||||
"spring-boot.ls.problem.version-validation.UNSUPPORTED_COMMERCIAL_VERSION": {
|
||||
"type": "string",
|
||||
"default": "ERROR",
|
||||
"default": "HINT",
|
||||
"description": "Unsupported Commercial Version",
|
||||
"enum": [
|
||||
"IGNORE",
|
||||
@@ -928,7 +928,7 @@
|
||||
},
|
||||
"spring-boot.ls.problem.version-validation.SUPPORTED_COMMERCIAL_VERSION": {
|
||||
"type": "string",
|
||||
"default": "HINT",
|
||||
"default": "IGNORE",
|
||||
"description": "Supported Commercial Version",
|
||||
"enum": [
|
||||
"IGNORE",
|
||||
|
||||
Reference in New Issue
Block a user