Condividi tramite


WorkflowOutputParameter Class

public final class WorkflowOutputParameter
extends WorkflowParameter

The workflow output parameter.

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.

Methods inherited from WorkflowParameter

Methods inherited from java.lang.Object

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()

Applies to