Enum ListApplicationDependencyRecommendationsRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListApplicationDependencyRecommendationsRequest.SortBy>
-
- com.oracle.bmc.adm.requests.ListApplicationDependencyRecommendationsRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListApplicationDependencyRecommendationsRequest.SortBy>
- Enclosing class:
- ListApplicationDependencyRecommendationsRequest
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”.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
Gav
public static final ListApplicationDependencyRecommendationsRequest.SortBy Gav
-
Purl
public static final ListApplicationDependencyRecommendationsRequest.SortBy Purl
-
NodeId
public static final ListApplicationDependencyRecommendationsRequest.SortBy NodeId
-
Dfs
public static final ListApplicationDependencyRecommendationsRequest.SortBy Dfs
-
Bfs
public static final ListApplicationDependencyRecommendationsRequest.SortBy Bfs
-
-
Method Detail
-
values
public static ListApplicationDependencyRecommendationsRequest.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 (ListApplicationDependencyRecommendationsRequest.SortBy c : ListApplicationDependencyRecommendationsRequest.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 ListApplicationDependencyRecommendationsRequest.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 ListApplicationDependencyRecommendationsRequest.SortBy create(String key)
-
-