Class SourceType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SourceType>
com.azure.resourcemanager.automation.models.SourceType
The source type. Must be one of VsoGit, VsoTfvc, GitHub.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SourceType
Static value GitHub for SourceType.static final SourceType
Static value VsoGit for SourceType.static final SourceType
Static value VsoTfvc for SourceType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SourceType
fromString
(String name) Creates or finds a SourceType from its string representation.static Collection<SourceType>
values()
Gets known SourceType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
VSO_GIT
Static value VsoGit for SourceType. -
VSO_TFVC
Static value VsoTfvc for SourceType. -
GIT_HUB
Static value GitHub for SourceType.
-
-
Constructor Details
-
SourceType
public SourceType()
-
-
Method Details
-
fromString
Creates or finds a SourceType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SourceType.
-
values
Gets known SourceType values.- Returns:
- known SourceType values.
-