Class RepoInfo
-
- All Implemented Interfaces:
public final class RepoInfoMetadata about the state of the repo when the experiment was created
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRepoInfo.BuilderA builder for RepoInfo.
-
Method Summary
Modifier and Type Method Description final Optional<String>authorEmail()Email of the author of the most recent commit final Optional<String>authorName()Name of the author of the most recent commit final Optional<String>branch()Name of the branch the most recent commit belongs to final Optional<String>commit()SHA of most recent commit final Optional<String>commitMessage()Most recent commit message final Optional<String>commitTime()Time of the most recent commit final Optional<Boolean>dirty()Whether or not the repo had uncommitted changes when snapshotted final Optional<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 Optional<String>tag()Name of the tag on the most recent commit final JsonField<String>_authorEmail()Returns the raw JSON value of authorEmail. final JsonField<String>_authorName()Returns the raw JSON value of authorName. final JsonField<String>_branch()Returns the raw JSON value of branch. final JsonField<String>_commit()Returns the raw JSON value of commit. final JsonField<String>_commitMessage()Returns the raw JSON value of commitMessage. final JsonField<String>_commitTime()Returns the raw JSON value of commitTime. final JsonField<Boolean>_dirty()Returns the raw JSON value of dirty. final JsonField<String>_gitDiff()Returns the raw JSON value of gitDiff. final JsonField<String>_tag()Returns the raw JSON value of tag. final Map<String, JsonValue>_additionalProperties()final RepoInfovalidate()final RepoInfo.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RepoInfo.Builderbuilder()Returns a mutable builder for constructing an instance of RepoInfo. -
-
Method Detail
-
authorEmail
final Optional<String> authorEmail()
Email of the author of the most recent commit
-
authorName
final Optional<String> authorName()
Name of the author of the most recent commit
-
commitMessage
final Optional<String> commitMessage()
Most recent commit message
-
commitTime
final Optional<String> commitTime()
Time of the most recent commit
-
dirty
final Optional<Boolean> dirty()
Whether or not the repo had uncommitted changes when snapshotted
-
gitDiff
final Optional<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.
-
_authorEmail
final JsonField<String> _authorEmail()
Returns the raw JSON value of authorEmail.
Unlike authorEmail, this method doesn't throw if the JSON field has an unexpected type.
-
_authorName
final JsonField<String> _authorName()
Returns the raw JSON value of authorName.
Unlike authorName, this method doesn't throw if the JSON field has an unexpected type.
-
_branch
final JsonField<String> _branch()
Returns the raw JSON value of branch.
Unlike branch, this method doesn't throw if the JSON field has an unexpected type.
-
_commit
final JsonField<String> _commit()
Returns the raw JSON value of commit.
Unlike commit, this method doesn't throw if the JSON field has an unexpected type.
-
_commitMessage
final JsonField<String> _commitMessage()
Returns the raw JSON value of commitMessage.
Unlike commitMessage, this method doesn't throw if the JSON field has an unexpected type.
-
_commitTime
final JsonField<String> _commitTime()
Returns the raw JSON value of commitTime.
Unlike commitTime, this method doesn't throw if the JSON field has an unexpected type.
-
_dirty
final JsonField<Boolean> _dirty()
Returns the raw JSON value of dirty.
Unlike dirty, this method doesn't throw if the JSON field has an unexpected type.
-
_gitDiff
final JsonField<String> _gitDiff()
Returns the raw JSON value of gitDiff.
Unlike gitDiff, this method doesn't throw if the JSON field has an unexpected type.
-
_tag
final JsonField<String> _tag()
Returns the raw JSON value of tag.
Unlike tag, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RepoInfo.Builder toBuilder()
-
builder
final static RepoInfo.Builder builder()
Returns a mutable builder for constructing an instance of RepoInfo.
-
-
-
-