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

Static value AwsAccount for EnvironmentType.

static final EnvironmentType AZURE_DEV_OPS_SCOPE

Static value AzureDevOpsScope for EnvironmentType.

static final EnvironmentType GCP_PROJECT

Static value GcpProject for EnvironmentType.

static final EnvironmentType GITHUB_SCOPE

Static value GithubScope for EnvironmentType.

static final EnvironmentType GITLAB_SCOPE

Static value GitlabScope for EnvironmentType.

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

Static value AwsAccount for EnvironmentType.

AZURE_DEV_OPS_SCOPE

public static final EnvironmentType AZURE_DEV_OPS_SCOPE

Static value AzureDevOpsScope for EnvironmentType.

GCP_PROJECT

public static final EnvironmentType GCP_PROJECT

Static value GcpProject for EnvironmentType.

GITHUB_SCOPE

public static final EnvironmentType GITHUB_SCOPE

Static value GithubScope for EnvironmentType.

GITLAB_SCOPE

public static final EnvironmentType GITLAB_SCOPE

Static value GitlabScope for EnvironmentType.

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

Gets known EnvironmentType values.

Returns:

known EnvironmentType values.

Applies to