Rename Ephemeral scan mode to Stateless | address requested changes - better deprecation handling | jppetrakis
@@ -1703,12 +1703,12 @@ public class DetectProperties {
EnumProperty.newBuilder("detect.blackduck.scan.mode", BlackduckScanMode.INTELLIGENT, BlackduckScanMode.class)
.setInfo("Detect Scan Mode", DetectPropertyFromVersion.VERSION_6_9_0)
.setHelp(
- "Set the Black Duck scanning mode of Detect. The keyword EPHEMERAL is deprecated, use STATELESS instead",
- "Set the scanning mode of Detect to control how Detect will send data to Black Duck. RAPID will not persist the results and disables select Detect functionality for faster results. INTELLIGENT persists the results and permits all features of Detect. EPHEMERAL will be removed in the next release."
+ "Set the Black Duck scanning mode of Detect",
+ "Set the scanning mode of Detect to control how Detect will send data to Black Duck. RAPID will not persist the results and disables select Detect functionality for faster results. INTELLIGENT persists the results and permits all features of Detect"
)
.setGroups(DetectGroup.BLACKDUCK_SERVER, DetectGroup.BLACKDUCK, DetectGroup.RAPID_SCAN)
.setCategory(DetectCategory.Advanced)
- .build();
+ .build().deprecateValue(BlackduckScanMode.EPHEMERAL, "Replaced by STATELESS");
public static final EnumProperty<RapidCompareMode> DETECT_BLACKDUCK_RAPID_COMPARE_MODE =
EnumProperty.newBuilder("detect.blackduck.rapid.compare.mode", RapidCompareMode.ALL, RapidCompareMode.class)
