Package com.oracle.bmc.batch.model
Class GroupTask
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.batch.model.BatchTask
-
- com.oracle.bmc.batch.model.GroupTask
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251031") public final class GroupTask extends BatchTaskGroup task is a construct that represents a container of tasks for execution.
Note: Objects should always be created or deserialized using theGroupTask.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theGroupTask.Builder, which maintain a set of all explicitly set fields calledGroupTask.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupTask.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.batch.model.BatchTask
BatchTask.LifecycleState, BatchTask.Type
-
-
Constructor Summary
Constructors Constructor Description GroupTask(String id, String name, String hierarchicalName, String groupTaskName, String description, BatchTask.LifecycleState lifecycleState, String lifecycleDetails, List<String> entitlementClaims, List<String> dependencies, List<EnvironmentVariable> environmentVariables, List<String> tasks)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupTask.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getTasks()The names of tasks contained directly (non-recursively) within this group task.inthashCode()GroupTask.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.batch.model.BatchTask
getDependencies, getDescription, getEntitlementClaims, getEnvironmentVariables, getGroupTaskName, getHierarchicalName, getId, getLifecycleDetails, getLifecycleState, getName
-
-
-
-
Constructor Detail
-
GroupTask
@Deprecated public GroupTask(String id, String name, String hierarchicalName, String groupTaskName, String description, BatchTask.LifecycleState lifecycleState, String lifecycleDetails, List<String> entitlementClaims, List<String> dependencies, List<EnvironmentVariable> environmentVariables, List<String> tasks)
Deprecated.
-
-
Method Detail
-
builder
public static GroupTask.Builder builder()
Create a new builder.
-
toBuilder
public GroupTask.Builder toBuilder()
-
getTasks
public List<String> getTasks()
The names of tasks contained directly (non-recursively) within this group task.- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-