Share via


CellOutputType Class

public final class CellOutputType
extends ExpandableStringEnum<CellOutputType>

Execution, display, or stream outputs.

Field Summary

Modifier and Type Field and Description
static final CellOutputType DISPLAY_DATA

Static value display_data for CellOutputType.

static final CellOutputType ERROR

Static value error for CellOutputType.

static final CellOutputType EXECUTE_RESULT

Static value execute_result for CellOutputType.

static final CellOutputType STREAM

Static value stream for CellOutputType.

Constructor Summary

Constructor Description
CellOutputType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CellOutputType value.

Method Summary

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

Creates or finds a CellOutputType from its string representation.

static Collection<CellOutputType> values()

Gets known CellOutputType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISPLAY_DATA

public static final CellOutputType DISPLAY_DATA

Static value display_data for CellOutputType.

ERROR

public static final CellOutputType ERROR

Static value error for CellOutputType.

EXECUTE_RESULT

public static final CellOutputType EXECUTE_RESULT

Static value execute_result for CellOutputType.

STREAM

public static final CellOutputType STREAM

Static value stream for CellOutputType.

Constructor Details

CellOutputType

@Deprecated
public CellOutputType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CellOutputType value.

Method Details

fromString

public static CellOutputType fromString(String name)

Creates or finds a CellOutputType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CellOutputType.

values

public static Collection<CellOutputType> values()

Gets known CellOutputType values.

Returns:

known CellOutputType values.

Applies to