StepType Class

public final class StepType
extends ExpandableStringEnum<StepType>

The type of the step.

Field Summary

Modifier and Type Field and Description
static final StepType DOCKER

Static value Docker for StepType.

static final StepType ENCODED_TASK

Static value EncodedTask for StepType.

static final StepType FILE_TASK

Static value FileTask for StepType.

Constructor Summary

Constructor Description
StepType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StepType value.

Method Summary

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

Creates or finds a StepType from its string representation.

static Collection<StepType> values()

Gets known StepType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DOCKER

public static final StepType DOCKER

Static value Docker for StepType.

ENCODED_TASK

public static final StepType ENCODED_TASK

Static value EncodedTask for StepType.

FILE_TASK

public static final StepType FILE_TASK

Static value FileTask for StepType.

Constructor Details

StepType

@Deprecated
public StepType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StepType value.

Method Details

fromString

public static StepType fromString(String name)

Creates or finds a StepType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StepType.

values

public static Collection values()

Gets known StepType values.

Returns:

known StepType values.

Applies to