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”.
Modifier and Type | Method and 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.
|
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy Gav
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy Purl
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy NodeId
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy Dfs
public static final ListApplicationDependencyVulnerabilitiesRequest.SortBy Bfs
public static ListApplicationDependencyVulnerabilitiesRequest.SortBy[] values()
for (ListApplicationDependencyVulnerabilitiesRequest.SortBy c : ListApplicationDependencyVulnerabilitiesRequest.SortBy.values()) System.out.println(c);
public static ListApplicationDependencyVulnerabilitiesRequest.SortBy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ListApplicationDependencyVulnerabilitiesRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.