API Reference
RawArtifactDescriptor
Describes a raw artifact observed during import.
Inheritance
- Object
- RawArtifactDescriptor
Usage
Explore 14 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Method InMemoryRawArtifactStore.GetAll
- Method InMemoryRawArtifactStore.GetBySourceRootAdapter
- Method InMemoryRawArtifactStore.GetRecentPerSourceRoot
- Method IRawArtifactStore.GetAll
- Method IRawArtifactStore.GetBySourceRootAdapter
- Method IRawArtifactStore.GetRecentPerSourceRoot
- Method RawArtifactDescriptor.CreateFile
Accepted by parameters 7
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, 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.DateTimeOffset? = null
Inherited Methods
public virtual 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 Int64? SizeBytes { get; set; } #Gets or sets the artifact size in bytes when available.
public 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 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.