Class Action.Builder
-
- All Implemented Interfaces:
public final class Action.BuilderA builder for Action.
-
-
Method Summary
Modifier and Type Method Description final Action.Builderdescription(String description)Human-readable description of the action final Action.Builderdescription(JsonField<String> description)Sets Builder.description to an arbitrary JSON value. final Action.Builderselector(String selector)CSS selector or XPath for the element final Action.Builderselector(JsonField<String> selector)Sets Builder.selector to an arbitrary JSON value. final Action.Builderarguments(List<String> arguments)Arguments to pass to the method final Action.Builderarguments(JsonField<List<String>> arguments)Sets Builder.arguments to an arbitrary JSON value. final Action.BuilderaddArgument(String argument)Adds a single String to arguments. final Action.BuilderbackendNodeId(Double backendNodeId)Backend node ID for the element final Action.BuilderbackendNodeId(JsonField<Double> backendNodeId)Sets Builder.backendNodeId to an arbitrary JSON value. final Action.Buildermethod(String method)The method to execute (click, fill, etc. final Action.Buildermethod(JsonField<String> method)Sets Builder.method to an arbitrary JSON value. final Action.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Action.BuilderputAdditionalProperty(String key, JsonValue value)final Action.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Action.BuilderremoveAdditionalProperty(String key)final Action.BuilderremoveAllAdditionalProperties(Set<String> keys)final Actionbuild()Returns an immutable instance of Action. -
-
Method Detail
-
description
final Action.Builder description(String description)
Human-readable description of the action
-
description
final Action.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
selector
final Action.Builder selector(String selector)
CSS selector or XPath for the element
-
selector
final Action.Builder selector(JsonField<String> selector)
Sets Builder.selector to an arbitrary JSON value.
You should usually call Builder.selector with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
arguments
final Action.Builder arguments(List<String> arguments)
Arguments to pass to the method
-
arguments
final Action.Builder arguments(JsonField<List<String>> arguments)
Sets Builder.arguments to an arbitrary JSON value.
You should usually call Builder.arguments with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addArgument
final Action.Builder addArgument(String argument)
-
backendNodeId
final Action.Builder backendNodeId(Double backendNodeId)
Backend node ID for the element
-
backendNodeId
final Action.Builder backendNodeId(JsonField<Double> backendNodeId)
Sets Builder.backendNodeId to an arbitrary JSON value.
You should usually call Builder.backendNodeId with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
method
final Action.Builder method(String method)
The method to execute (click, fill, etc.)
-
method
final Action.Builder method(JsonField<String> method)
Sets Builder.method to an arbitrary JSON value.
You should usually call Builder.method with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Action.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Action.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Action.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Action.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Action.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-