Package com.oracle.bmc.batch.model
Enum BatchTaskHierarchyView
- java.lang.Object
-
- java.lang.Enum<BatchTaskHierarchyView>
-
- com.oracle.bmc.batch.model.BatchTaskHierarchyView
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<BatchTaskHierarchyView>
@Generated(value="OracleSDKGenerator", comments="API Version: 20251031") public enum BatchTaskHierarchyView extends Enum<BatchTaskHierarchyView> implements BmcEnumDefines the hierarchical scope of the tasks to be returned.When set to SHALLOW, which is default, only tasks contained directly (non-recursively) within current hierarchy entry are returned. When set to DEEP, tasks contained within current hierarchy entry and all its descendants recursively are returned. The default hierarchy entry is root, i.e. batch job itself. To use a different hierarchy entry, provide the group task name as a query parameter. The specified group task becomes the entry point instead of the batch job.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchTaskHierarchyViewcreate(String key)StringgetValue()static BatchTaskHierarchyViewvalueOf(String name)Returns the enum constant of this type with the specified name.static BatchTaskHierarchyView[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Shallow
public static final BatchTaskHierarchyView Shallow
-
Deep
public static final BatchTaskHierarchyView Deep
-
-
Method Detail
-
values
public static BatchTaskHierarchyView[] 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 (BatchTaskHierarchyView c : BatchTaskHierarchyView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BatchTaskHierarchyView 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 BatchTaskHierarchyView create(String key)
-
-