InventoryKind Class

public final class InventoryKind
extends ExpandableStringEnum<InventoryKind>

Types for inventory kind.

Field Summary

Modifier and Type Field and Description
static final InventoryKind AZURE_DEV_OPS_ORGANIZATION

AzureDevOpsOrganization.

static final InventoryKind AZURE_DEV_OPS_PROJECT

AzureDevOpsProject.

static final InventoryKind AZURE_DEV_OPS_REPOSITORY

AzureDevOpsRepository.

static final InventoryKind GIT_HUB_OWNER

GitHubOwner.

static final InventoryKind GIT_HUB_REPOSITORY

GitHubRepository.

Constructor Summary

Constructor Description
InventoryKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InventoryKind value.

Method Summary

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

Creates or finds a InventoryKind from its string representation.

static Collection<InventoryKind> values()

Gets known InventoryKind values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_DEV_OPS_ORGANIZATION

public static final InventoryKind AZURE_DEV_OPS_ORGANIZATION

AzureDevOpsOrganization.

AZURE_DEV_OPS_PROJECT

public static final InventoryKind AZURE_DEV_OPS_PROJECT

AzureDevOpsProject.

AZURE_DEV_OPS_REPOSITORY

public static final InventoryKind AZURE_DEV_OPS_REPOSITORY

AzureDevOpsRepository.

GIT_HUB_OWNER

public static final InventoryKind GIT_HUB_OWNER

GitHubOwner.

GIT_HUB_REPOSITORY

public static final InventoryKind GIT_HUB_REPOSITORY

GitHubRepository.

Constructor Details

InventoryKind

@Deprecated
public InventoryKind()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of InventoryKind value.

Method Details

fromString

public static InventoryKind fromString(String name)

Creates or finds a InventoryKind from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding InventoryKind.

values

public static Collection<InventoryKind> values()

Gets known InventoryKind values.

Returns:

known InventoryKind values.

Applies to