style(help): deprecated property detect.diagnostic.extended
@@ -588,14 +588,7 @@ public class DetectProperties {
BooleanProperty.newBuilder("detect.diagnostic", false)
.setInfo("Diagnostic Mode", DetectPropertyFromVersion.VERSION_6_5_0)
.setHelp(
- "When enabled, diagnostic mode collects all files generated by Synopsys Detect and zips the files using a unique run ID. It includes logs, BDIO files, extraction files, and reports.")
- .setGroups(DetectGroup.DEBUG, DetectGroup.GLOBAL)
- .build();
-
- public static final BooleanProperty DETECT_DIAGNOSTIC_EXTENDED =
- BooleanProperty.newBuilder("detect.diagnostic.extended", false)
- .setInfo("Diagnostic Mode Extended", DetectPropertyFromVersion.VERSION_6_5_0)
- .setHelp("When enabled, Synopsys Detect performs the actions of --detect.diagnostic, but also includes relevant files such as lock files and build artifacts.")
+ "When enabled, diagnostic mode collects files valuable for troubleshooting (logs, BDIO file, extraction files, reports, etc.), writes them to a zip file, and logs the path to the zip file.")
.setGroups(DetectGroup.DEBUG, DetectGroup.GLOBAL)
.build();
@@ -1952,6 +1945,15 @@ public class DetectProperties {
)
.build();
+ @Deprecated
+ public static final BooleanProperty DETECT_DIAGNOSTIC_EXTENDED =
+ BooleanProperty.newBuilder("detect.diagnostic.extended", false)
+ .setInfo("Diagnostic Mode Extended", DetectPropertyFromVersion.VERSION_6_5_0)
+ .setHelp("When enabled, Synopsys Detect performs the actions of --detect.diagnostic, but also includes relevant files such as lock files and build artifacts.")
+ .setGroups(DetectGroup.DEBUG, DetectGroup.GLOBAL)
+ .setDeprecated("This property is being removed. Use property detect.diagnostic instead. There is no longer any distinction between extended and non-extended diagnostic zip files.", DetectMajorVersion.NINE)
+ .build();
+
// TODO: Revise in 8.0.0
// Can't take in the DetectProperty<?> due to an illegal forward reference :(
private static String createDefaultDrivenPropertyHelpText(String exclusionTypePlural, String... propertyKeysDrivingDefaults) {
