-
-
Save Passarinho4/951645165789bf134a8ad9cd755d6962 to your computer and use it in GitHub Desktop.
Developer builder
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 extends AbstractEmployee.Builder<Developer> { | |
public Builder() { | |
role(Role.DEVELOPER); | |
} | |
@Override | |
public Developer build() { | |
return new Developer(this); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment