-
- All Implemented Interfaces:
-
com.grab.grazel.bazel.rules.BazelRepositoryRule,com.grab.grazel.bazel.rules.BazelRule,com.grab.grazel.bazel.starlark.StarlarkType
public final class GitRepositoryRule implements BazelRepositoryRule
Data structure denoting
git_repositoryrule
-
-
Constructor Summary
Constructors Constructor Description GitRepositoryRule(String name, String commit, String remote, String shallowSince)
-
Method Summary
Modifier and Type Method Description StringgetName()UnitsetName(String name)final StringgetCommit()final UnitsetCommit(String commit)final StringgetRemote()final UnitsetRemote(String remote)final StringgetShallowSince()final UnitsetShallowSince(String shallowSince)Unitstatements(StatementsBuilder $self)Build the starlark representation of this type with the provided StatementsBuilder-
-
Method Detail
-
getShallowSince
final String getShallowSince()
-
setShallowSince
final Unit setShallowSince(String shallowSince)
-
statements
Unit statements(StatementsBuilder $self)
Build the starlark representation of this type with the provided
StatementsBuilder
-
-
-
-