Generates a composite action containing all actions so far, ready to be performed (and resets the internal builder state, so subsequent calls to this method will contain fresh sequences). Warning : you may want to call #perform() instead to actually perform the actions. @return th
()
| 566 | * @return the composite action |
| 567 | */ |
| 568 | public Action build() { |
| 569 | Action toReturn = new BuiltAction(driver, new LinkedHashMap<>(sequences)); |
| 570 | sequences.clear(); |
| 571 | return toReturn; |
| 572 | } |
| 573 | |
| 574 | /** A convenience method for performing the actions without calling build() first. */ |
| 575 | public void perform() { |