CreatedByType Class

public final class CreatedByType
extends ExpandableStringEnum<CreatedByType>

The type of the entity that created the test run. (E.x. User, ScheduleTrigger, etc).

Field Summary

Modifier and Type Field and Description
static final CreatedByType AZURE_PIPELINES

Entity was created by Azure DevOps pipelines.

static final CreatedByType GITHUB_WORKFLOWS

Entity was created by GitHub Workflows.

static final CreatedByType SCHEDULED_TRIGGER

Entity was created by a scheduled trigger.

static final CreatedByType USER

Entity was created by a user.

Constructor Summary

Constructor Description
CreatedByType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CreatedByType value.

Method Summary

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

Creates or finds a CreatedByType from its string representation.

static Collection<CreatedByType> values()

Gets known CreatedByType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_PIPELINES

public static final CreatedByType AZURE_PIPELINES

Entity was created by Azure DevOps pipelines.

GITHUB_WORKFLOWS

public static final CreatedByType GITHUB_WORKFLOWS

Entity was created by GitHub Workflows.

SCHEDULED_TRIGGER

public static final CreatedByType SCHEDULED_TRIGGER

Entity was created by a scheduled trigger.

USER

public static final CreatedByType USER

Entity was created by a user.

Constructor Details

CreatedByType

@Deprecated
public CreatedByType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CreatedByType value.

Method Details

fromString

public static CreatedByType fromString(String name)

Creates or finds a CreatedByType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CreatedByType.

values

public static Collection<CreatedByType> values()

Gets known CreatedByType values.

Returns:

known CreatedByType values.

Applies to