Skip to content

Commit

Permalink
Merge pull request #29 from ymesika/multiple_properties_support
Browse files Browse the repository at this point in the history
Support setting multiple OrientDB configuration properties
  • Loading branch information
denis-itskovich authored Oct 21, 2020
2 parents 55215b6 + a8bfa29 commit 1177b69
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ public final Builder setProperty(String key, Object value) {
return this;
}

public final Builder setProperties(@Nonnull Map<String, Object> properties) {
properties.forEach(this::setProperty);
return this;
}

public final Builder url(@Nonnull String url) {
this.url = url;
return this;
Expand Down

0 comments on commit 1177b69

Please sign in to comment.