Class SourceControlType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SourceControlType>
com.azure.resourcemanager.containerregistry.models.SourceControlType
public final class SourceControlType
extends com.azure.core.util.ExpandableStringEnum<SourceControlType>
The type of source control service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SourceControlTypeStatic value Github for SourceControlType.static final SourceControlTypeStatic value VisualStudioTeamService for SourceControlType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceControlTypefromString(String name) Creates or finds a SourceControlType from its string representation.static Collection<SourceControlType>values()Gets known SourceControlType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
GITHUB
Static value Github for SourceControlType. -
VISUAL_STUDIO_TEAM_SERVICE
Static value VisualStudioTeamService for SourceControlType.
-
-
Constructor Details
-
SourceControlType
Deprecated.Use thefromString(String)factory method.Creates a new instance of SourceControlType value.
-
-
Method Details
-
fromString
Creates or finds a SourceControlType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SourceControlType.
-
values
Gets known SourceControlType values.- Returns:
- known SourceControlType values.
-
fromString(String)factory method.