8000 feat: Added support to get All segments used in the project by zashraf1985 · Pull Request #483 · optimizely/java-sdk · GitHub
[go: up one dir, main page]

Skip to content

feat: Added support to get All segments used in the project #483

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

Merged
merged 4 commits into from
Aug 10, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added public method for segments
  • Loading branch information
zashraf1985 committed Aug 10, 2022
commit 7aedff3ac0f70360aa9f7458a1ae486e477380d4
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ public List<Experiment> getExperiments() {
return experiments;
}

public Set<String> getAllSegments() {
return this.allSegments;
}

@Override
public List<Experiment> getExperimentsForEventKey(String eventKey) {
EventType event = eventNameMapping.get(eventKey);
Expand Down
0