public static enum ListApplicationDependencyRecommendationsRequest.SortBy extends Enum<ListApplicationDependencyRecommendationsRequest.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 ListApplicationDependencyRecommendationsRequest.SortBy |
create(String key) |
String |
getValue() |
static ListApplicationDependencyRecommendationsRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListApplicationDependencyRecommendationsRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListApplicationDependencyRecommendationsRequest.SortBy Gav
public static final ListApplicationDependencyRecommendationsRequest.SortBy Purl
public static final ListApplicationDependencyRecommendationsRequest.SortBy NodeId
public static final ListApplicationDependencyRecommendationsRequest.SortBy Dfs
public static final ListApplicationDependencyRecommendationsRequest.SortBy Bfs
public static ListApplicationDependencyRecommendationsRequest.SortBy[] values()
for (ListApplicationDependencyRecommendationsRequest.SortBy c : ListApplicationDependencyRecommendationsRequest.SortBy.values()) System.out.println(c);
public static ListApplicationDependencyRecommendationsRequest.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 ListApplicationDependencyRecommendationsRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.