GitImplementation Class

public final class GitImplementation
extends ExpandableStringEnum<GitImplementation>

Git libraries used to support various repository providers.

Field Summary

Modifier and Type Field and Description
static final GitImplementation GO_GIT

Static value go-git for GitImplementation.

static final GitImplementation LIBGIT2

Static value libgit2 for GitImplementation.

Constructor Summary

Constructor Description
GitImplementation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GitImplementation value.

Method Summary

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

Creates or finds a GitImplementation from its string representation.

static Collection<GitImplementation> values()

Gets known GitImplementation values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GO_GIT

public static final GitImplementation GO_GIT

Static value go-git for GitImplementation.

LIBGIT2

public static final GitImplementation LIBGIT2

Static value libgit2 for GitImplementation.

Constructor Details

GitImplementation

@Deprecated
public GitImplementation()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GitImplementation value.

Method Details

fromString

public static GitImplementation fromString(String name)

Creates or finds a GitImplementation from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding GitImplementation.

values

public static Collection values()

Gets known GitImplementation values.

Returns:

known GitImplementation values.

Applies to