SourceControlType Class

public final class SourceControlType
extends ExpandableStringEnum<SourceControlType>

The artifact source's type.

Field Summary

Modifier and Type Field and Description
static final SourceControlType GIT_HUB

Static value GitHub for SourceControlType.

static final SourceControlType STORAGE_ACCOUNT

Static value StorageAccount for SourceControlType.

static final SourceControlType VSO_GIT

Static value VsoGit for SourceControlType.

Constructor Summary

Constructor Description
SourceControlType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SourceControlType value.

Method Summary

Modifier and Type Method and Description
static SourceControlType fromString(String name)

Creates or finds a SourceControlType from its string representation.

static Collection<SourceControlType> values()

Gets known SourceControlType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GIT_HUB

public static final SourceControlType GIT_HUB

Static value GitHub for SourceControlType.

STORAGE_ACCOUNT

public static final SourceControlType STORAGE_ACCOUNT

Static value StorageAccount for SourceControlType.

VSO_GIT

public static final SourceControlType VSO_GIT

Static value VsoGit for SourceControlType.

Constructor Details

SourceControlType

@Deprecated
public SourceControlType()

Deprecated

Use the fromString(String name) 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.

Applies to