Modifier and Type | Method and Description |
---|---|
PiAction |
build()
Returns a new action instance.
|
PiAction.Builder |
withId(PiActionId actionId)
Sets the identifier of this action.
|
PiAction.Builder |
withParameter(PiActionParam param)
Adds a runtime parameter.
|
PiAction.Builder |
withParameters(Collection<PiActionParam> params)
Adds many runtime parameters.
|
public PiAction.Builder withId(PiActionId actionId)
actionId
- action identifierpublic PiAction.Builder withParameter(PiActionParam param)
param
- action parameterpublic PiAction.Builder withParameters(Collection<PiActionParam> params)
params
- collection of action parameterspublic PiAction build()