DataflowGraphGraphNode Class

public final class DataflowGraphGraphNode
extends DataflowGraphNode

DataflowGraph graph node properties.

Constructor Summary

Constructor Description
DataflowGraphGraphNode()

Creates an instance of DataflowGraphGraphNode class.

Method Summary

Modifier and Type Method and Description
static DataflowGraphGraphNode fromJson(JsonReader jsonReader)

Reads an instance of DataflowGraphGraphNode from the JsonReader.

DataflowGraphNodeGraphSettings graphSettings()

Get the graphSettings property: Graph configuration.

DataflowGraphNodeType nodeType()

Get the nodeType property: Type of the node.

JsonWriter toJson(JsonWriter jsonWriter)
DataflowGraphGraphNode withGraphSettings(DataflowGraphNodeGraphSettings graphSettings)

Set the graphSettings property: Graph configuration.

DataflowGraphGraphNode withName(String name)

Set the name property: Name of the node.

Methods inherited from DataflowGraphNode

Methods inherited from java.lang.Object

Constructor Details

DataflowGraphGraphNode

public DataflowGraphGraphNode()

Creates an instance of DataflowGraphGraphNode class.

Method Details

fromJson

public static DataflowGraphGraphNode fromJson(JsonReader jsonReader)

Reads an instance of DataflowGraphGraphNode from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataflowGraphGraphNode if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

graphSettings

public DataflowGraphNodeGraphSettings graphSettings()

Get the graphSettings property: Graph configuration.

Returns:

the graphSettings value.

nodeType

public DataflowGraphNodeType nodeType()

Get the nodeType property: Type of the node.

Overrides:

DataflowGraphGraphNode.nodeType()

Returns:

the nodeType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataflowGraphGraphNode.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withGraphSettings

public DataflowGraphGraphNode withGraphSettings(DataflowGraphNodeGraphSettings graphSettings)

Set the graphSettings property: Graph configuration.

Parameters:

graphSettings - the graphSettings value to set.

Returns:

the DataflowGraphGraphNode object itself.

withName

public DataflowGraphGraphNode withName(String name)

Set the name property: Name of the node.

Overrides:

DataflowGraphGraphNode.withName(String name)

Parameters:

name

Applies to