@Generated public class GitSource extends Object
If `git_source` is set, these tasks retrieve the file from the remote repository by default. However, this behavior can be overridden by setting `source` to `WORKSPACE` on the task.
Note: dbt and SQL File tasks support only version-controlled sources. If dbt or SQL File tasks are used, `git_source` must be defined on the job.
Constructor and Description |
---|
GitSource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getGitBranch() |
String |
getGitCommit() |
GitProvider |
getGitProvider() |
GitSnapshot |
getGitSnapshot() |
String |
getGitTag() |
String |
getGitUrl() |
JobSource |
getJobSource() |
int |
hashCode() |
GitSource |
setGitBranch(String gitBranch) |
GitSource |
setGitCommit(String gitCommit) |
GitSource |
setGitProvider(GitProvider gitProvider) |
GitSource |
setGitSnapshot(GitSnapshot gitSnapshot) |
GitSource |
setGitTag(String gitTag) |
GitSource |
setGitUrl(String gitUrl) |
GitSource |
setJobSource(JobSource jobSource) |
String |
toString() |
public String getGitBranch()
public String getGitCommit()
public GitSource setGitProvider(GitProvider gitProvider)
public GitProvider getGitProvider()
public GitSource setGitSnapshot(GitSnapshot gitSnapshot)
public GitSnapshot getGitSnapshot()
public String getGitTag()
public String getGitUrl()
public JobSource getJobSource()
Copyright © 2023. All rights reserved.