Class Task
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.identitygovernance.Task
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Task
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Task
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the arguments property value.Gets the category property value.Gets the continueOnError property value.Gets the description property value.Gets the displayName property value.Gets the executionSequence property value.The deserialization information for the current modelGets the isEnabled property value.Gets the taskDefinitionId property value.Gets the taskProcessingResults property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setArguments
(List<KeyValuePair> value) Sets the arguments property value.void
setCategory
(EnumSet<LifecycleTaskCategory> value) Sets the category property value.void
setContinueOnError
(Boolean value) Sets the continueOnError property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setExecutionSequence
(Integer value) Sets the executionSequence property value.void
setIsEnabled
(Boolean value) Sets the isEnabled property value.void
setTaskDefinitionId
(String value) Sets the taskDefinitionId property value.void
Sets the taskProcessingResults property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Task
public Task()Instantiates a newTask
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Task createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
Task
-
getArguments
Gets the arguments property value. Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.- Returns:
- a
List<KeyValuePair>
-
getCategory
Gets the category property value. The category property- Returns:
- a
EnumSet<LifecycleTaskCategory>
-
getContinueOnError
Gets the continueOnError property value. A Boolean value that specifies whether, if this task fails, the workflow stops, and subsequent tasks aren't run. Optional.- Returns:
- a
Boolean
-
getDescription
Gets the description property value. A string that describes the purpose of the task for administrative use. Optional.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. A unique string that identifies the task. Required.Supports $filter(eq, ne) and orderBy.- Returns:
- a
String
-
getExecutionSequence
Gets the executionSequence property value. An integer that states in what order the task runs in a workflow.Supports $orderby.- Returns:
- a
Integer
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsEnabled
Gets the isEnabled property value. A Boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy.- Returns:
- a
Boolean
-
getTaskDefinitionId
Gets the taskDefinitionId property value. A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.Supports $filter(eq, ne).- Returns:
- a
String
-
getTaskProcessingResults
Gets the taskProcessingResults property value. The result of processing the task.- Returns:
- a
List<TaskProcessingResult>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setArguments
Sets the arguments property value. Arguments included within the task. For guidance to configure this property, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.- Parameters:
value
- Value to set for the arguments property.
-
setCategory
Sets the category property value. The category property- Parameters:
value
- Value to set for the category property.
-
setContinueOnError
Sets the continueOnError property value. A Boolean value that specifies whether, if this task fails, the workflow stops, and subsequent tasks aren't run. Optional.- Parameters:
value
- Value to set for the continueOnError property.
-
setDescription
Sets the description property value. A string that describes the purpose of the task for administrative use. Optional.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. A unique string that identifies the task. Required.Supports $filter(eq, ne) and orderBy.- Parameters:
value
- Value to set for the displayName property.
-
setExecutionSequence
Sets the executionSequence property value. An integer that states in what order the task runs in a workflow.Supports $orderby.- Parameters:
value
- Value to set for the executionSequence property.
-
setIsEnabled
Sets the isEnabled property value. A Boolean value that denotes whether the task is set to run or not. Optional.Supports $filter(eq, ne) and orderBy.- Parameters:
value
- Value to set for the isEnabled property.
-
setTaskDefinitionId
Sets the taskDefinitionId property value. A unique template identifier for the task. For more information about the tasks that Lifecycle Workflows currently supports and their unique identifiers, see Configure the arguments for built-in Lifecycle Workflow tasks. Required.Supports $filter(eq, ne).- Parameters:
value
- Value to set for the taskDefinitionId property.
-
setTaskProcessingResults
Sets the taskProcessingResults property value. The result of processing the task.- Parameters:
value
- Value to set for the taskProcessingResults property.
-