Class OnAllBatchTasksComplete

java.lang.Object
com.azure.core.util.ExpandableStringEnum<OnAllBatchTasksComplete>
com.azure.compute.batch.models.OnAllBatchTasksComplete
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class OnAllBatchTasksComplete extends com.azure.core.util.ExpandableStringEnum<OnAllBatchTasksComplete>
The action the Batch service should take when all Tasks in the Job are in the completed state.
  • Field Details

    • NO_ACTION

      public static final OnAllBatchTasksComplete NO_ACTION
      Do nothing. The Job remains active unless terminated or disabled by some other means.
    • TERMINATE_JOB

      public static final OnAllBatchTasksComplete TERMINATE_JOB
      Terminate the Job. The Job's terminationReason is set to 'AllTasksComplete'.
  • Constructor Details

    • OnAllBatchTasksComplete

      @Deprecated public OnAllBatchTasksComplete()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of OnAllBatchTasksComplete value.
  • Method Details

    • fromString

      public static OnAllBatchTasksComplete fromString(String name)
      Creates or finds a OnAllBatchTasksComplete from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding OnAllBatchTasksComplete.
    • values

      public static Collection<OnAllBatchTasksComplete> values()
      Gets known OnAllBatchTasksComplete values.
      Returns:
      known OnAllBatchTasksComplete values.