Enum ListApplicationDependencyVulnerabilitiesRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListApplicationDependencyVulnerabilitiesRequest.SortBy>
-
- com.oracle.bmc.adm.requests.ListApplicationDependencyVulnerabilitiesRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListApplicationDependencyVulnerabilitiesRequest.SortBy>
- Enclosing class:
- ListApplicationDependencyVulnerabilitiesRequest
public static enum ListApplicationDependencyVulnerabilitiesRequest.SortBy extends Enum<ListApplicationDependencyVulnerabilitiesRequest.SortBy> implements BmcEnum
The field to sort by.Only one sort order may be provided. If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending. If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending. Default order for gav is ascending where ascending corresponds to alphanumerical order. Default order for purl is ascending where ascending corresponds to alphabetical order Default order for nodeId is ascending where ascending corresponds to alphanumerical order. Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: “gav”, “cvssV2GreaterThanOrEqual”, “cvssV3GreaterThanOrEqual” and “vulnerabilityId”.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListApplicationDependencyVulnerabilitiesRequest.SortBy
create(String key)
String
getValue()
static ListApplicationDependencyVulnerabilitiesRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListApplicationDependencyVulnerabilitiesRequest.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Gav
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy Gav
-
Purl
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy Purl
-
NodeId
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy NodeId
-
Dfs
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy Dfs
-
Bfs
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy Bfs
-
-
Method Detail
-
values
public static ListApplicationDependencyVulnerabilitiesRequest.SortBy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ListApplicationDependencyVulnerabilitiesRequest.SortBy c : ListApplicationDependencyVulnerabilitiesRequest.SortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListApplicationDependencyVulnerabilitiesRequest.SortBy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static ListApplicationDependencyVulnerabilitiesRequest.SortBy create(String key)
-
-