Share via


GitImplementation Class

  • java.lang.Object
    • com.azure.core.util.ExpandableStringEnum
      • com.azure.resourcemanager.appplatform.models.GitImplementation

public final class GitImplementation
extends com.azure.core.util.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 com.azure.core.util.ExpandableStringEnum

com.azure.core.util.ExpandableStringEnum.<T>fromString com.azure.core.util.ExpandableStringEnum.<T>values com.azure.core.util.ExpandableStringEnum.equals com.azure.core.util.ExpandableStringEnum.getValue com.azure.core.util.ExpandableStringEnum.hashCode com.azure.core.util.ExpandableStringEnum.toString

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<GitImplementation> values()

Gets known GitImplementation values.

Returns:

known GitImplementation values.

Applies to