Action.Builder

public static final classAction.BuilderextendsThing.Builder

This class is deprecated.
PleaseMigrate to the Firebase App Inde xing API

Public Constructor Summary

Builder(StringactionType)

Public Method Summary

Action
build()
Build theAction object.
Action.Builder
put(Stringkey, Thing value)
Sets a property of the action.
Action.Builder
put(Stringkey, Thing[] values)
Sets properties of the action.
Action.Builder
put(Stringkey, String value)
Sets a property of the action.
Action.Builder
put(Stringkey, String[] values)
Sets properties of the action.
Action.Builder
put(Stringkey, boolean value)
Sets a property of the action.
Action.Builder
setActionStatus(String actionStatusType)
Specify the status of the action.
Action.Builder
setName(Stringname)
Sets the name of the action.
Action.Builder
setObject(Thing thing)
Sets the object of the action.
Action.Builder
setUrl(Uriurl)
Sets the app URI of the action.

Inherited Method Summary

Public Constructors

publicBuilder(String actionType)

Public Methods

publicAction build()

Build theAction object.

publicAction.Builder put(Stringkey,Thing value)

Sets a property of the action.

Parameters
key The schema.org property. Must not be null.
value The value of the schema.org property represented as aThing. If null, the value will be ignored.

publicAction.Builder put(Stringkey,Thing[] values)

Sets properties of the action.

Parameters
key The schema.org property. Must not be null.
values The array of values represented as aThing. If null, the values will be ignored.

publicAction.Builder put(Stringkey,Stringvalue)

Sets a property of the action.

Parameters
key The schema.org property. Must not be null.
value The value of the schema.org property. If null, the value will be ignored.

publicAction.Builder put(Stringkey,String[]values)

Sets properties of the action.

Parameters
key The schema.org property. Must not be null.
values The array of string values. If null, the values will be ignored.

publicAction.Builder put(Stringkey, boolean value)

Sets a property of the action.

Parameters
key The schema.org property. Must not be null.
value The value of the schema.org property.

publicAction.Builder setActionStatus(String actionStatusType)

Specify the status of the action.

publicAction.Builder setName(Stringname)

Sets the name of the action.

Parameters
name The name of the action.

publicAction.Builder setObject(Thing thing)

Sets the object of the action.

Parameters
thing The object of the action. Must not be null.

publicAction.Builder setUrl(Uriurl)

Sets the app URI of the action.

Parameters
url The app URI of the action in theApp Inde xingformat.