Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use value object for spout items #1342

Merged
merged 1 commit into from
Jul 10, 2022
Merged

Use value object for spout items #1342

merged 1 commit into from
Jul 10, 2022

Commits on Jul 10, 2022

  1. Use value object for spout items

    Previously, spouts would implement Iterator interface
    and individual items’ data could be accessed by iterating
    the spout object and calling its methods.
    
    With this change, each spout has getItems() method that
    returns an Iterator of Item objects for each item.
    
    This is much cleaner design and having separate object
    for each source item allows for handling them independently
    even after iteration switched to a next step.
    jtojnar committed Jul 10, 2022
    Configuration menu
    Copy the full SHA
    f0d3396 View commit details
    Browse the repository at this point in the history