Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

We need ability to stop Pipeline #48

Closed
MikhailLipanin opened this issue Oct 16, 2022 · 4 comments
Closed

We need ability to stop Pipeline #48

MikhailLipanin opened this issue Oct 16, 2022 · 4 comments

Comments

@MikhailLipanin
Copy link
Contributor

MikhailLipanin commented Oct 16, 2022

It is very useful to stop pipeline via provided Function<XML, Boolean> in Xsline.java:
Now we use Xsline via

new Xsline(train).pass(xml)

But we can set a condition of terminating pipeline like that:

new Xsline(train).pass(
    xml,
    (xml) -> {
        "some checks on XML"
        returns Boolean;
    }
)

So all Shifts in train will be applied, while provided Function<XML, Boolean> is true

@MikhailLipanin
Copy link
Contributor Author

MikhailLipanin commented Oct 19, 2022

@yegor256 , need to release for related problem in EO

@yegor256
Copy link
Owner

@rultor release, tag is 0.15.0

@rultor
Copy link
Collaborator

rultor commented Oct 19, 2022

@rultor release, tag is 0.15.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Oct 19, 2022

@rultor release, tag is 0.15.0

@yegor256 Done! FYI, the full log is here (took me 10min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants