Share via


DependencyAction Class

public final class DependencyAction
extends ExpandableStringEnum<DependencyAction>

DependencyAction enums.

Field Summary

Modifier and Type Field and Description
static final DependencyAction BLOCK

Blocks tasks waiting on this task, preventing them from being scheduled.

static final DependencyAction SATISFY

Satisfy tasks waiting on this task; once all dependencies are satisfied, the task will be scheduled to run.

Constructor Summary

Constructor Description
DependencyAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DependencyAction value.

Method Summary

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

Creates or finds a DependencyAction from its string representation.

static Collection<DependencyAction> values()

Gets known DependencyAction values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BLOCK

public static final DependencyAction BLOCK

Blocks tasks waiting on this task, preventing them from being scheduled.

SATISFY

public static final DependencyAction SATISFY

Satisfy tasks waiting on this task; once all dependencies are satisfied, the task will be scheduled to run.

Constructor Details

DependencyAction

@Deprecated
public DependencyAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DependencyAction value.

Method Details

fromString

public static DependencyAction fromString(String name)

Creates or finds a DependencyAction from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DependencyAction.

values

public static Collection<DependencyAction> values()

Gets known DependencyAction values.

Returns:

known DependencyAction values.

Applies to