java.lang.Object
com.azure.core.util.ExpandableStringEnum<SourceType>
com.azure.resourcemanager.automation.models.SourceType

public final class SourceType extends com.azure.core.util.ExpandableStringEnum<SourceType>
The source type. Must be one of VsoGit, VsoTfvc, GitHub.
  • Field Details

    • VSO_GIT

      public static final SourceType VSO_GIT
      Static value VsoGit for SourceType.
    • VSO_TFVC

      public static final SourceType VSO_TFVC
      Static value VsoTfvc for SourceType.
    • GIT_HUB

      public static final SourceType GIT_HUB
      Static value GitHub for SourceType.
  • Constructor Details

    • SourceType

      public SourceType()
  • Method Details

    • fromString

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

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