Class ResultProvenance
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.ResultProvenance
Contains information about how and when a result was detected.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAn array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result.A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.The Coordinated Universal Time (UTC) date and time at which the result was first detected.The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.The Coordinated Universal Time (UTC) date and time at which the result was most recently detected.Key/value pairs that provide additional information about the object.inthashCode()voidsetConversionSources(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.voidsetFirstDetectionRunGuid(String firstDetectionRunGuid) A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.voidsetFirstDetectionTimeUtc(Date firstDetectionTimeUtc) The Coordinated Universal Time (UTC) date and time at which the result was first detected.voidsetInvocationIndex(Integer invocationIndex) The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.voidsetLastDetectionRunGuid(String lastDetectionRunGuid) A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.voidsetLastDetectionTimeUtc(Date lastDetectionTimeUtc) The Coordinated Universal Time (UTC) date and time at which the result was most recently detected.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.toString()withConversionSources(Set<PhysicalLocation> conversionSources) withFirstDetectionRunGuid(String firstDetectionRunGuid) withFirstDetectionTimeUtc(Date firstDetectionTimeUtc) withInvocationIndex(Integer invocationIndex) withLastDetectionRunGuid(String lastDetectionRunGuid) withLastDetectionTimeUtc(Date lastDetectionTimeUtc) withProperties(PropertyBag properties)
-
Constructor Details
-
ResultProvenance
public ResultProvenance()
-
-
Method Details
-
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
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
-
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
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
-
getFirstDetectionRunGuid
A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected. -
setFirstDetectionRunGuid
A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected. -
withFirstDetectionRunGuid
-
getLastDetectionRunGuid
A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected. -
setLastDetectionRunGuid
A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected. -
withLastDetectionRunGuid
-
getInvocationIndex
The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result. -
setInvocationIndex
The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result. -
withInvocationIndex
-
getConversionSources
An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result. -
setConversionSources
An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result. -
withConversionSources
-
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
-