BuildStatus Class

public final class BuildStatus
extends ExpandableStringEnum<BuildStatus>

The status of the static site build.

Field Summary

Modifier and Type Field and Description
static final BuildStatus DELETING

Static value Deleting for BuildStatus.

static final BuildStatus DEPLOYING

Static value Deploying for BuildStatus.

static final BuildStatus DETACHED

Static value Detached for BuildStatus.

static final BuildStatus FAILED

Static value Failed for BuildStatus.

static final BuildStatus READY

Static value Ready for BuildStatus.

static final BuildStatus UPLOADING

Static value Uploading for BuildStatus.

static final BuildStatus WAITING_FOR_DEPLOYMENT

Static value WaitingForDeployment for BuildStatus.

Constructor Summary

Constructor Description
BuildStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BuildStatus value.

Method Summary

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

Creates or finds a BuildStatus from its string representation.

static Collection<BuildStatus> values()

Gets known BuildStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DELETING

public static final BuildStatus DELETING

Static value Deleting for BuildStatus.

DEPLOYING

public static final BuildStatus DEPLOYING

Static value Deploying for BuildStatus.

DETACHED

public static final BuildStatus DETACHED

Static value Detached for BuildStatus.

FAILED

public static final BuildStatus FAILED

Static value Failed for BuildStatus.

READY

public static final BuildStatus READY

Static value Ready for BuildStatus.

UPLOADING

public static final BuildStatus UPLOADING

Static value Uploading for BuildStatus.

WAITING_FOR_DEPLOYMENT

public static final BuildStatus WAITING_FOR_DEPLOYMENT

Static value WaitingForDeployment for BuildStatus.

Constructor Details

BuildStatus

@Deprecated
public BuildStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BuildStatus value.

Method Details

fromString

public static BuildStatus fromString(String name)

Creates or finds a BuildStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BuildStatus.

values

public static Collection values()

Gets known BuildStatus values.

Returns:

known BuildStatus values.

Applies to