SourceControlType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. SourceControlType
- com.
- com.
public final class SourceControlType
extends ExpandableStringEnum<SourceControlType>
The type of source control service.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Source |
GITHUB
Static value Github for Source |
static final
Source |
VISUAL_STUDIO_TEAM_SERVICE
Static value Visual |
Constructor Summary
Constructor | Description |
---|---|
SourceControlType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Source |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Source |
fromString(String name)
Creates or finds a Source |
static
Collection<Source |
values()
Gets known Source |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
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:
Returns:
values
public static Collection
Gets known SourceControlType values.
Returns:
Applies to
Azure SDK for Java