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
  • Constructor Details

    • Task

      public Task()
      Instantiates a new Task 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

      @Nullable public List<KeyValuePair> 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

      @Nullable public EnumSet<LifecycleTaskCategory> getCategory()
      Gets the category property value. The category property
      Returns:
      a EnumSet<LifecycleTaskCategory>
    • getContinueOnError

      @Nullable public Boolean 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

      @Nullable public String getDescription()
      Gets the description property value. A string that describes the purpose of the task for administrative use. Optional.
      Returns:
      a String
    • getDisplayName

      @Nullable public 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

      @Nullable public Integer 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsEnabled

      @Nullable public Boolean 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

      @Nullable public String 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

      @Nullable public List<TaskProcessingResult> 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setArguments

      public void setArguments(@Nullable List<KeyValuePair> value)
      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

      public void setCategory(@Nullable EnumSet<LifecycleTaskCategory> value)
      Sets the category property value. The category property
      Parameters:
      value - Value to set for the category property.
    • setContinueOnError

      public void setContinueOnError(@Nullable Boolean value)
      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

      public void setDescription(@Nullable String value)
      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

      public void setDisplayName(@Nullable String value)
      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

      public void setExecutionSequence(@Nullable Integer value)
      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

      public void setIsEnabled(@Nullable Boolean value)
      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

      public void setTaskDefinitionId(@Nullable String value)
      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

      public void setTaskProcessingResults(@Nullable List<TaskProcessingResult> value)
      Sets the taskProcessingResults property value. The result of processing the task.
      Parameters:
      value - Value to set for the taskProcessingResults property.