Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WARNING: Big refactor ahead.
Motivation: VWorkflows 0.2.x makes it difficult to extend behavior for third parties as many of the classes expect specific implementations of a particular interface. There are also many places where Java's package private scope is used.
This pull request offers an alternate design. The library already defined most of its core types as interfaces while supplying default implementations. These implementations have been split into two packages: base and impl. The base package may be used as starting point for 3rd parties that would like to write their own custom implementations of the core interfaces. The impl package provide ready-made, default implementations of the core interfaces, in effect they are behavior compatible with version 0.2.x.
Usage of package private access has been reduced to a minimum.
Classes have been relocated to other packages, grouped by responsibility.
This refactor constitutes a break in binary compatibility
Please review at your earliest convenience. We're open to feedback and discussion on the proposed changes as we understand it may be too big to swallow in one go.