EnvironmentType Class

public final class EnvironmentType
extends ExpandableStringEnum<EnvironmentType>

The type of the environment data.

Field Summary

Modifier and Type Field and Description
static final EnvironmentType AWS_ACCOUNT

AwsAccount.

static final EnvironmentType AZURE_DEV_OPS_SCOPE

AzureDevOpsScope.

static final EnvironmentType DOCKER_HUB_ORGANIZATION

DockerHubOrganization.

static final EnvironmentType GCP_PROJECT

GcpProject.

static final EnvironmentType GITHUB_SCOPE

GithubScope.

static final EnvironmentType GITLAB_SCOPE

GitlabScope.

static final EnvironmentType JFROG_ARTIFACTORY

JFrogArtifactory.

Constructor Summary

Constructor Description
EnvironmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EnvironmentType value.

Method Summary

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

Creates or finds a EnvironmentType from its string representation.

static Collection<EnvironmentType> values()

Gets known EnvironmentType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AWS_ACCOUNT

public static final EnvironmentType AWS_ACCOUNT

AwsAccount.

AZURE_DEV_OPS_SCOPE

public static final EnvironmentType AZURE_DEV_OPS_SCOPE

AzureDevOpsScope.

DOCKER_HUB_ORGANIZATION

public static final EnvironmentType DOCKER_HUB_ORGANIZATION

DockerHubOrganization.

GCP_PROJECT

public static final EnvironmentType GCP_PROJECT

GcpProject.

GITHUB_SCOPE

public static final EnvironmentType GITHUB_SCOPE

GithubScope.

GITLAB_SCOPE

public static final EnvironmentType GITLAB_SCOPE

GitlabScope.

JFROG_ARTIFACTORY

public static final EnvironmentType JFROG_ARTIFACTORY

JFrogArtifactory.

Constructor Details

EnvironmentType

@Deprecated
public EnvironmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EnvironmentType value.

Method Details

fromString

public static EnvironmentType fromString(String name)

Creates or finds a EnvironmentType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EnvironmentType.

values

public static Collection<EnvironmentType> values()

Gets known EnvironmentType values.

Returns:

known EnvironmentType values.

Applies to