API Reference
RawArtifactDescriptor
Describes a raw artifact observed during import.
Inheritance
- Object
- RawArtifactDescriptor
Constructors
public RawArtifactDescriptor(String sourceRootId, String adapterId, String path, String fingerprint) #Initializes a new raw-artifact descriptor.
Parameters
- sourceRootId System.String
- adapterId System.String
- path System.String
- fingerprint System.String
Methods
public static RawArtifactDescriptor CreateFile(String sourceRootId, String adapterId, String path, String parserVersion = null, Nullable<DateTimeOffset> importedAtUtc = null) #RawArtifactDescriptorCreates a file-backed raw-artifact descriptor using file metadata as the incremental fingerprint.
Parameters
- sourceRootId System.String
- adapterId System.String
- path System.String
- parserVersion System.String = null
- importedAtUtc System.Nullable{System.DateTimeOffset} = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String SourceRootId { get; } #Gets the source root that produced this artifact.
public String AdapterId { get; } #Gets the adapter that produced this artifact.
public String Path { get; } #Gets the normalized artifact path or logical locator.
public String Fingerprint { get; } #Gets the stable artifact fingerprint used for re-import and provenance.
public String ParserVersion { get; set; } #Gets or sets the parser version that produced this descriptor.
public Nullable<Int64> SizeBytes { get; set; } #Gets or sets the artifact size in bytes when available.
public Nullable<DateTimeOffset> LastWriteTimeUtc { get; set; } #Gets or sets the last-write timestamp in UTC when available.
public DateTimeOffset ImportedAtUtc { get; set; } #Gets or sets the UTC timestamp when the artifact was imported.
public Nullable<Int64> ParsedBytes { get; set; } #Gets or sets the number of bytes parsed from this artifact when incremental scanners track offsets.
public String StateJson { get; set; } #Gets or sets optional scanner-specific cached state for quick report generation.