Class SourceControlType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SourceControlType>
com.azure.resourcemanager.containerregistry.models.SourceControlType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class SourceControlType extends com.azure.core.util.ExpandableStringEnum<SourceControlType>
The type of source control service.
  • Field Details

    • GITHUB

      public static final SourceControlType GITHUB
      Static value Github for SourceControlType.
    • VISUAL_STUDIO_TEAM_SERVICE

      public static final SourceControlType VISUAL_STUDIO_TEAM_SERVICE
      Static value VisualStudioTeamService for SourceControlType.
  • Constructor Details

    • SourceControlType

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

    • fromString

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

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