Skip to content

Commit

Permalink
minor: Support the Scope enum on the extension
Browse files Browse the repository at this point in the history
Fixes #175
  • Loading branch information
ajoberstar committed Apr 22, 2023
1 parent 5ed6f3b commit a4490a8
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,19 @@ public DirectoryProperty getRepoDirectory() {
}

public void setDefaultInferredScope(String scope) {
this.reckonerBuilder.defaultInferredScope(Scope.from(scope));
setDefaultInferredScope(Scope.from(scope));
}

public void setDefaultInferredScope(Scope scope) {
this.reckonerBuilder.defaultInferredScope(scope);
}

public void setParallelBranchScope(String scope) {
this.reckonerBuilder.parallelBranchScope(Scope.from(scope));
setParallelBranchScope(Scope.from(scope));
}

public void setParallelBranchScope(Scope scope) {
this.reckonerBuilder.parallelBranchScope(scope);
}

public void stages(String... stages) {
Expand Down

0 comments on commit a4490a8

Please sign in to comment.