Class VersionControlDetails

java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.VersionControlDetails

public class VersionControlDetails extends Object
Specifies the information necessary to retrieve a desired revision from a version control system.
  • Constructor Details

    • VersionControlDetails

      public VersionControlDetails()
  • Method Details

    • getRepositoryUri

      public URI getRepositoryUri()
      The absolute URI of the repository. (Required)
    • setRepositoryUri

      public void setRepositoryUri(URI repositoryUri)
      The absolute URI of the repository. (Required)
    • withRepositoryUri

      public VersionControlDetails withRepositoryUri(URI repositoryUri)
    • getRevisionId

      public String getRevisionId()
      A string that uniquely and permanently identifies the revision within the repository.
    • setRevisionId

      public void setRevisionId(String revisionId)
      A string that uniquely and permanently identifies the revision within the repository.
    • withRevisionId

      public VersionControlDetails withRevisionId(String revisionId)
    • getBranch

      public String getBranch()
      The name of a branch containing the revision.
    • setBranch

      public void setBranch(String branch)
      The name of a branch containing the revision.
    • withBranch

      public VersionControlDetails withBranch(String branch)
    • getRevisionTag

      public String getRevisionTag()
      A tag that has been applied to the revision.
    • setRevisionTag

      public void setRevisionTag(String revisionTag)
      A tag that has been applied to the revision.
    • withRevisionTag

      public VersionControlDetails withRevisionTag(String revisionTag)
    • getAsOfTimeUtc

      public Date 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

      public void setAsOfTimeUtc(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.
    • withAsOfTimeUtc

      public VersionControlDetails withAsOfTimeUtc(Date asOfTimeUtc)
    • getMappedTo

      public ArtifactLocation getMappedTo()
      Specifies the location of an artifact.
    • setMappedTo

      public void setMappedTo(ArtifactLocation mappedTo)
      Specifies the location of an artifact.
    • withMappedTo

      public VersionControlDetails withMappedTo(ArtifactLocation mappedTo)
    • getProperties

      public PropertyBag getProperties()
      Key/value pairs that provide additional information about the object.
    • setProperties

      public void setProperties(PropertyBag properties)
      Key/value pairs that provide additional information about the object.
    • withProperties

      public VersionControlDetails withProperties(PropertyBag properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object