Created
February 23, 2021 14:38
-
-
Save dalexandrov/db0447d479c7c4fe147bf8b1ac4569de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Builder implements io.helidon.common.Builder<Neo4jMetricsSupport> { | |
private Driver driver; | |
private Builder() { | |
} | |
public Neo4jMetricsSupport build() { | |
Objects.requireNonNull(driver, "Must set driver before building"); | |
return new Neo4jMetricsSupport(this); | |
} | |
public Builder driver(Driver driver) { | |
this.driver = driver; | |
return this; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment