ScmType Class

public final class ScmType
extends ExpandableStringEnum<ScmType>

SCM type.

Field Summary

Modifier and Type Field and Description
static final ScmType BITBUCKET_GIT

Static value BitbucketGit for ScmType.

static final ScmType BITBUCKET_HG

Static value BitbucketHg for ScmType.

static final ScmType CODE_PLEX_GIT

Static value CodePlexGit for ScmType.

static final ScmType CODE_PLEX_HG

Static value CodePlexHg for ScmType.

static final ScmType DROPBOX

Static value Dropbox for ScmType.

static final ScmType EXTERNAL_GIT

Static value ExternalGit for ScmType.

static final ScmType EXTERNAL_HG

Static value ExternalHg for ScmType.

static final ScmType GIT_HUB

Static value GitHub for ScmType.

static final ScmType LOCAL_GIT

Static value LocalGit for ScmType.

static final ScmType NONE

Static value None for ScmType.

static final ScmType ONE_DRIVE

Static value OneDrive for ScmType.

static final ScmType TFS

Static value Tfs for ScmType.

static final ScmType VSO

Static value VSO for ScmType.

static final ScmType VSTSRM

Static value VSTSRM for ScmType.

Constructor Summary

Constructor Description
ScmType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScmType value.

Method Summary

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

Creates or finds a ScmType from its string representation.

static Collection<ScmType> values()

Gets known ScmType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BITBUCKET_GIT

public static final ScmType BITBUCKET_GIT

Static value BitbucketGit for ScmType.

BITBUCKET_HG

public static final ScmType BITBUCKET_HG

Static value BitbucketHg for ScmType.

CODE_PLEX_GIT

public static final ScmType CODE_PLEX_GIT

Static value CodePlexGit for ScmType.

CODE_PLEX_HG

public static final ScmType CODE_PLEX_HG

Static value CodePlexHg for ScmType.

DROPBOX

public static final ScmType DROPBOX

Static value Dropbox for ScmType.

EXTERNAL_GIT

public static final ScmType EXTERNAL_GIT

Static value ExternalGit for ScmType.

EXTERNAL_HG

public static final ScmType EXTERNAL_HG

Static value ExternalHg for ScmType.

GIT_HUB

public static final ScmType GIT_HUB

Static value GitHub for ScmType.

LOCAL_GIT

public static final ScmType LOCAL_GIT

Static value LocalGit for ScmType.

NONE

public static final ScmType NONE

Static value None for ScmType.

ONE_DRIVE

public static final ScmType ONE_DRIVE

Static value OneDrive for ScmType.

TFS

public static final ScmType TFS

Static value Tfs for ScmType.

VSO

public static final ScmType VSO

Static value VSO for ScmType.

VSTSRM

public static final ScmType VSTSRM

Static value VSTSRM for ScmType.

Constructor Details

ScmType

@Deprecated
public ScmType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScmType value.

Method Details

fromString

public static ScmType fromString(String name)

Creates or finds a ScmType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScmType.

values

public static Collection values()

Gets known ScmType values.

Returns:

known ScmType values.

Applies to