public final class CodeDxVersion extends Object implements Comparable<CodeDxVersion>
fromString
method instead.
Instances are available for reference to point out min/max versions supporting certain
features that might necessitate the Jenkins plugin to behave differently.Modifier and Type | Field and Description |
---|---|
static CodeDxVersion |
MIN_FOR_ANALYSIS_NAMES
First version that supports the "analysis names" feature.
|
static CodeDxVersion |
NEW_STATUS_REMOVED
Version when the "New" triage status was removed in Code Dx (2.4.0).
|
static CodeDxVersion |
NEW_STATUS_RETURNED
Version when the "New" triage status was returned to Code Dx (2.4.2).
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CodeDxVersion that) |
boolean |
equals(Object thatObj) |
static CodeDxVersion |
fromString(String version) |
int |
hashCode() |
boolean |
supportsTriageNew()
Convenience method that determines if this version of Code Dx supports the "New" triage status.
|
String |
toString() |
public static final CodeDxVersion NEW_STATUS_REMOVED
public static final CodeDxVersion NEW_STATUS_RETURNED
NEW_STATUS_REMOVED version must use the "First Seen" filter
in order to emulate the behavior of the "triage status = New" filter.public static final CodeDxVersion MIN_FOR_ANALYSIS_NAMES
public static CodeDxVersion fromString(String version)
public int compareTo(CodeDxVersion that)
compareTo
in interface Comparable<CodeDxVersion>
public boolean supportsTriageNew()
this < NEW_STATUS_REMOVED || this >= NEW_STATUS_RETURNED
Copyright © 2004-2017. All Rights Reserved.