Class ResultProvenance

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

public class ResultProvenance extends Object
Contains information about how and when a result was detected.
  • Constructor Details

    • ResultProvenance

      public ResultProvenance()
  • Method Details

    • getFirstDetectionTimeUtc

      public Date getFirstDetectionTimeUtc()
      The Coordinated Universal Time (UTC) date and time at which the result was first detected. See "Date/time properties" in the SARIF spec for the required format.
    • setFirstDetectionTimeUtc

      public void setFirstDetectionTimeUtc(Date firstDetectionTimeUtc)
      The Coordinated Universal Time (UTC) date and time at which the result was first detected. See "Date/time properties" in the SARIF spec for the required format.
    • withFirstDetectionTimeUtc

      public ResultProvenance withFirstDetectionTimeUtc(Date firstDetectionTimeUtc)
    • getLastDetectionTimeUtc

      public Date getLastDetectionTimeUtc()
      The Coordinated Universal Time (UTC) date and time at which the result was most recently detected. See "Date/time properties" in the SARIF spec for the required format.
    • setLastDetectionTimeUtc

      public void setLastDetectionTimeUtc(Date lastDetectionTimeUtc)
      The Coordinated Universal Time (UTC) date and time at which the result was most recently detected. See "Date/time properties" in the SARIF spec for the required format.
    • withLastDetectionTimeUtc

      public ResultProvenance withLastDetectionTimeUtc(Date lastDetectionTimeUtc)
    • getFirstDetectionRunGuid

      public String getFirstDetectionRunGuid()
      A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.
    • setFirstDetectionRunGuid

      public void setFirstDetectionRunGuid(String firstDetectionRunGuid)
      A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.
    • withFirstDetectionRunGuid

      public ResultProvenance withFirstDetectionRunGuid(String firstDetectionRunGuid)
    • getLastDetectionRunGuid

      public String getLastDetectionRunGuid()
      A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.
    • setLastDetectionRunGuid

      public void setLastDetectionRunGuid(String lastDetectionRunGuid)
      A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.
    • withLastDetectionRunGuid

      public ResultProvenance withLastDetectionRunGuid(String lastDetectionRunGuid)
    • getInvocationIndex

      public Integer getInvocationIndex()
      The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.
    • setInvocationIndex

      public void setInvocationIndex(Integer invocationIndex)
      The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.
    • withInvocationIndex

      public ResultProvenance withInvocationIndex(Integer invocationIndex)
    • getConversionSources

      public Set<PhysicalLocation> getConversionSources()
      An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result.
    • setConversionSources

      public void setConversionSources(Set<PhysicalLocation> conversionSources)
      An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result.
    • withConversionSources

      public ResultProvenance withConversionSources(Set<PhysicalLocation> conversionSources)
    • 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 ResultProvenance 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