Class VersionControlDetails
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.VersionControlDetails
Specifies the information necessary to retrieve a desired revision from a version control system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanA Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time.The name of a branch containing the revision.Specifies the location of an artifact.Key/value pairs that provide additional information about the object.The absolute URI of the repository.A string that uniquely and permanently identifies the revision within the repository.A tag that has been applied to the revision.inthashCode()voidsetAsOfTimeUtc(Date asOfTimeUtc) A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time.voidThe name of a branch containing the revision.voidsetMappedTo(ArtifactLocation mappedTo) Specifies the location of an artifact.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetRepositoryUri(URI repositoryUri) The absolute URI of the repository.voidsetRevisionId(String revisionId) A string that uniquely and permanently identifies the revision within the repository.voidsetRevisionTag(String revisionTag) A tag that has been applied to the revision.toString()withAsOfTimeUtc(Date asOfTimeUtc) withBranch(String branch) withMappedTo(ArtifactLocation mappedTo) withProperties(PropertyBag properties) withRepositoryUri(URI repositoryUri) withRevisionId(String revisionId) withRevisionTag(String revisionTag)
-
Constructor Details
-
VersionControlDetails
public VersionControlDetails()
-
-
Method Details
-
getRepositoryUri
The absolute URI of the repository. (Required) -
setRepositoryUri
The absolute URI of the repository. (Required) -
withRepositoryUri
-
getRevisionId
A string that uniquely and permanently identifies the revision within the repository. -
setRevisionId
A string that uniquely and permanently identifies the revision within the repository. -
withRevisionId
-
getBranch
The name of a branch containing the revision. -
setBranch
The name of a branch containing the revision. -
withBranch
-
getRevisionTag
A tag that has been applied to the revision. -
setRevisionTag
A tag that has been applied to the revision. -
withRevisionTag
-
getAsOfTimeUtc
A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time. -
setAsOfTimeUtc
A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time. -
withAsOfTimeUtc
-
getMappedTo
Specifies the location of an artifact. -
setMappedTo
Specifies the location of an artifact. -
withMappedTo
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-