We have three methods to change the Scope:
- Execution#setScope
- SampleRepository#setScope
- ExecutionRepository#setScope()
The first one is an abstract Version that uses Enums to set the scope and it sets the scope for both, SampleRepository and ExecutionRepository.
Number 2 and 3 are on a lower level of the API and are used to set the actual scope-implementation to the repositories that need scoping.
Users cannot understand which of these methods should be used to set the scope. Therefore we need to clarify the API.
We have three methods to change the Scope:
The first one is an abstract Version that uses Enums to set the scope and it sets the scope for both, SampleRepository and ExecutionRepository.
Number 2 and 3 are on a lower level of the API and are used to set the actual scope-implementation to the repositories that need scoping.
Users cannot understand which of these methods should be used to set the scope. Therefore we need to clarify the API.