java.lang.Object
com.azure.core.util.ExpandableStringEnum<OnErrorType>
com.azure.resourcemanager.mediaservices.models.OnErrorType

public final class OnErrorType extends com.azure.core.util.ExpandableStringEnum<OnErrorType>
A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with 'ContinueJob'. The default is 'StopProcessingJob'.
  • Field Details

    • STOP_PROCESSING_JOB

      public static final OnErrorType STOP_PROCESSING_JOB
      Static value StopProcessingJob for OnErrorType.
    • CONTINUE_JOB

      public static final OnErrorType CONTINUE_JOB
      Static value ContinueJob for OnErrorType.
  • Constructor Details

    • OnErrorType

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

    • fromString

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

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