WorkflowOutputParameter Class

public final class WorkflowOutputParameter
extends WorkflowParameter

The workflow output parameter.

Constructor Summary

Constructor Description
WorkflowOutputParameter()

Creates an instance of WorkflowOutputParameter class.

Method Summary

Modifier and Type Method and Description
Object error()

Get the error property: Gets the error.

static WorkflowOutputParameter fromJson(JsonReader jsonReader)

Reads an instance of WorkflowOutputParameter from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WorkflowOutputParameter withDescription(String description)

Set the description property: The description.

WorkflowOutputParameter withMetadata(Object metadata)

Set the metadata property: The metadata.

WorkflowOutputParameter withType(ParameterType type)

Set the type property: The type.

WorkflowOutputParameter withValue(Object value)

Set the value property: The value.

Methods inherited from WorkflowParameter

Methods inherited from java.lang.Object

Constructor Details

WorkflowOutputParameter

public WorkflowOutputParameter()

Creates an instance of WorkflowOutputParameter class.

Method Details

error

public Object error()

Get the error property: Gets the error.

Returns:

the error value.

fromJson

public static WorkflowOutputParameter fromJson(JsonReader jsonReader)

Reads an instance of WorkflowOutputParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the WorkflowOutputParameter.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkflowOutputParameter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

WorkflowOutputParameter.validate()

withDescription

public WorkflowOutputParameter withDescription(String description)

Set the description property: The description.

Overrides:

WorkflowOutputParameter.withDescription(String description)

Parameters:

description

withMetadata

public WorkflowOutputParameter withMetadata(Object metadata)

Set the metadata property: The metadata.

Overrides:

WorkflowOutputParameter.withMetadata(Object metadata)

Parameters:

metadata

withType

public WorkflowOutputParameter withType(ParameterType type)

Set the type property: The type.

Overrides:

WorkflowOutputParameter.withType(ParameterType type)

Parameters:

type

withValue

public WorkflowOutputParameter withValue(Object value)

Set the value property: The value.

Overrides:

WorkflowOutputParameter.withValue(Object value)

Parameters:

value

Applies to