Class RepoInfo.Builder
-
- All Implemented Interfaces:
public final class RepoInfo.BuilderA builder for RepoInfo.
-
-
Method Summary
Modifier and Type Method Description final RepoInfo.BuilderauthorEmail(String authorEmail)Email of the author of the most recent commit final RepoInfo.BuilderauthorEmail(Optional<String> authorEmail)Alias for calling Builder.authorEmail with authorEmail.orElse(null).final RepoInfo.BuilderauthorEmail(JsonField<String> authorEmail)Sets Builder.authorEmail to an arbitrary JSON value. final RepoInfo.BuilderauthorName(String authorName)Name of the author of the most recent commit final RepoInfo.BuilderauthorName(Optional<String> authorName)Alias for calling Builder.authorName with authorName.orElse(null).final RepoInfo.BuilderauthorName(JsonField<String> authorName)Sets Builder.authorName to an arbitrary JSON value. final RepoInfo.Builderbranch(String branch)Name of the branch the most recent commit belongs to final RepoInfo.Builderbranch(Optional<String> branch)Alias for calling Builder.branch with branch.orElse(null).final RepoInfo.Builderbranch(JsonField<String> branch)Sets Builder.branch to an arbitrary JSON value. final RepoInfo.Buildercommit(String commit)SHA of most recent commit final RepoInfo.Buildercommit(Optional<String> commit)Alias for calling Builder.commit with commit.orElse(null).final RepoInfo.Buildercommit(JsonField<String> commit)Sets Builder.commit to an arbitrary JSON value. final RepoInfo.BuildercommitMessage(String commitMessage)Most recent commit message final RepoInfo.BuildercommitMessage(Optional<String> commitMessage)Alias for calling Builder.commitMessage with commitMessage.orElse(null).final RepoInfo.BuildercommitMessage(JsonField<String> commitMessage)Sets Builder.commitMessage to an arbitrary JSON value. final RepoInfo.BuildercommitTime(String commitTime)Time of the most recent commit final RepoInfo.BuildercommitTime(Optional<String> commitTime)Alias for calling Builder.commitTime with commitTime.orElse(null).final RepoInfo.BuildercommitTime(JsonField<String> commitTime)Sets Builder.commitTime to an arbitrary JSON value. final RepoInfo.Builderdirty(Boolean dirty)Whether or not the repo had uncommitted changes when snapshotted final RepoInfo.Builderdirty(Boolean dirty)Alias for Builder.dirty. final RepoInfo.Builderdirty(Optional<Boolean> dirty)Alias for calling Builder.dirty with dirty.orElse(null).final RepoInfo.Builderdirty(JsonField<Boolean> dirty)Sets Builder.dirty to an arbitrary JSON value. final RepoInfo.BuildergitDiff(String gitDiff)If the repo was dirty when run, this includes the diff between the current state of the repo and the most recent commit. final RepoInfo.BuildergitDiff(Optional<String> gitDiff)Alias for calling Builder.gitDiff with gitDiff.orElse(null).final RepoInfo.BuildergitDiff(JsonField<String> gitDiff)Sets Builder.gitDiff to an arbitrary JSON value. final RepoInfo.Buildertag(String tag)Name of the tag on the most recent commit final RepoInfo.Buildertag(Optional<String> tag)Alias for calling Builder.tag with tag.orElse(null).final RepoInfo.Buildertag(JsonField<String> tag)Sets Builder.tag to an arbitrary JSON value. final RepoInfo.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final RepoInfo.BuilderputAdditionalProperty(String key, JsonValue value)final RepoInfo.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final RepoInfo.BuilderremoveAdditionalProperty(String key)final RepoInfo.BuilderremoveAllAdditionalProperties(Set<String> keys)final RepoInfobuild()Returns an immutable instance of RepoInfo. -
-
Method Detail
-
authorEmail
final RepoInfo.Builder authorEmail(String authorEmail)
Email of the author of the most recent commit
-
authorEmail
final RepoInfo.Builder authorEmail(Optional<String> authorEmail)
Alias for calling Builder.authorEmail with
authorEmail.orElse(null).
-
authorEmail
final RepoInfo.Builder authorEmail(JsonField<String> authorEmail)
Sets Builder.authorEmail to an arbitrary JSON value.
You should usually call Builder.authorEmail with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
authorName
final RepoInfo.Builder authorName(String authorName)
Name of the author of the most recent commit
-
authorName
final RepoInfo.Builder authorName(Optional<String> authorName)
Alias for calling Builder.authorName with
authorName.orElse(null).
-
authorName
final RepoInfo.Builder authorName(JsonField<String> authorName)
Sets Builder.authorName to an arbitrary JSON value.
You should usually call Builder.authorName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
branch
final RepoInfo.Builder branch(String branch)
Name of the branch the most recent commit belongs to
-
branch
final RepoInfo.Builder branch(Optional<String> branch)
Alias for calling Builder.branch with
branch.orElse(null).
-
branch
final RepoInfo.Builder branch(JsonField<String> branch)
Sets Builder.branch to an arbitrary JSON value.
You should usually call Builder.branch with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
commit
final RepoInfo.Builder commit(String commit)
SHA of most recent commit
-
commit
final RepoInfo.Builder commit(Optional<String> commit)
Alias for calling Builder.commit with
commit.orElse(null).
-
commit
final RepoInfo.Builder commit(JsonField<String> commit)
Sets Builder.commit to an arbitrary JSON value.
You should usually call Builder.commit with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
commitMessage
final RepoInfo.Builder commitMessage(String commitMessage)
Most recent commit message
-
commitMessage
final RepoInfo.Builder commitMessage(Optional<String> commitMessage)
Alias for calling Builder.commitMessage with
commitMessage.orElse(null).
-
commitMessage
final RepoInfo.Builder commitMessage(JsonField<String> commitMessage)
Sets Builder.commitMessage to an arbitrary JSON value.
You should usually call Builder.commitMessage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
commitTime
final RepoInfo.Builder commitTime(String commitTime)
Time of the most recent commit
-
commitTime
final RepoInfo.Builder commitTime(Optional<String> commitTime)
Alias for calling Builder.commitTime with
commitTime.orElse(null).
-
commitTime
final RepoInfo.Builder commitTime(JsonField<String> commitTime)
Sets Builder.commitTime to an arbitrary JSON value.
You should usually call Builder.commitTime with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dirty
final RepoInfo.Builder dirty(Boolean dirty)
Whether or not the repo had uncommitted changes when snapshotted
-
dirty
final RepoInfo.Builder dirty(Boolean dirty)
Alias for Builder.dirty.
This unboxed primitive overload exists for backwards compatibility.
-
dirty
final RepoInfo.Builder dirty(Optional<Boolean> dirty)
Alias for calling Builder.dirty with
dirty.orElse(null).
-
dirty
final RepoInfo.Builder dirty(JsonField<Boolean> dirty)
Sets Builder.dirty to an arbitrary JSON value.
You should usually call Builder.dirty with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
gitDiff
final RepoInfo.Builder gitDiff(String gitDiff)
If the repo was dirty when run, this includes the diff between the current state of the repo and the most recent commit.
-
gitDiff
final RepoInfo.Builder gitDiff(Optional<String> gitDiff)
Alias for calling Builder.gitDiff with
gitDiff.orElse(null).
-
gitDiff
final RepoInfo.Builder gitDiff(JsonField<String> gitDiff)
Sets Builder.gitDiff to an arbitrary JSON value.
You should usually call Builder.gitDiff with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tag
final RepoInfo.Builder tag(String tag)
Name of the tag on the most recent commit
-
tag
final RepoInfo.Builder tag(Optional<String> tag)
Alias for calling Builder.tag with
tag.orElse(null).
-
tag
final RepoInfo.Builder tag(JsonField<String> tag)
Sets Builder.tag to an arbitrary JSON value.
You should usually call Builder.tag with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RepoInfo.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RepoInfo.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RepoInfo.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RepoInfo.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RepoInfo.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-