-
Notifications
You must be signed in to change notification settings - Fork 2
Lensfield2_API
Oliver Stueker edited this page May 5, 2015
·
2 revisions
In order to implement any of the build steps described in Lensfield2_build_steps only the small lensfield2-api library needs to be included in your build path, however for the case of unparameterised 1:1 builds there is an even simpler approach to forming a lensfield build, all you have to do is implement a method with the signature:
This method can return void, or anything else, and can throw any exceptions.
You can even instruct Lensfield2 to look for a method named other than 'run', making it possible to construct a build step from any method taking a single InputStream and a single OutputStream as arguments, even if the codebase is unaware of Lensfield2's existance.