ThisT
- the child Java API class, returned by method chainingR
- the Java type of the result produced by this actionpublic interface Action<ThisT,R>
Modifier and Type | Method and Description |
---|---|
R |
execute()
Executes this action.
|
default ThisT |
option(java.lang.String name,
java.lang.String value)
Configures this action with an extra option.
|
default ThisT |
options(java.util.Map<java.lang.String,java.lang.String> options)
Configures this action with extra options.
|
default ThisT option(java.lang.String name, java.lang.String value)
Certain actions allow users to control internal details of their execution via options.
name
- an option namevalue
- an option valuedefault ThisT options(java.util.Map<java.lang.String,java.lang.String> options)
Certain actions allow users to control internal details of their execution via options.
options
- a map of extra optionsR execute()