Knotx / knotx-fragments

Fragments map-reduce processing using Graph flows, supplier and assembler.
https://knotx.io
Apache License 2.0
3 stars 5 forks source link

#189 Improve ActionProvider's constructor #195

Closed marcinus closed 4 years ago

marcinus commented 4 years ago

Description

Changes Supplier<Iterator<ActionFactory>> constructor argument type to Supplier<Iterable<ActionFactory>> as it simplifies usage.

Motivation and Context

Closes #189

Types of changes

Checklist:


I hereby agree to the terms of the Knot.x Contributor License Agreement.

codecov[bot] commented 4 years ago

Codecov Report

Merging #195 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #195   +/-   ##
=========================================
  Coverage     91.96%   91.96%           
- Complexity     1873     1878    +5     
=========================================
  Files           179      179           
  Lines          7359     7359           
  Branches        183      183           
=========================================
  Hits           6768     6768           
  Misses          501      501           
  Partials         90       90           
Impacted Files Coverage Δ Complexity Δ
...io/knotx/fragments/action/core/ActionProvider.java 100.00% <100.00%> (ø) 14.00 <1.00> (ø)
...notx/fragments/action/core/ActionProviderTest.java 97.77% <100.00%> (ø) 16.00 <7.00> (+5.00)
...factory/generic/node/action/ActionNodeFactory.java 100.00% <100.00%> (ø) 7.00 <1.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2017866...37116f1. Read the comment docs.