Class BuildInvestigationEvidence
java.lang.Object
io.jenkins.plugins.changeinvestigator.evidence.BuildInvestigationEvidence
- All Implemented Interfaces:
Serializable
The complete, deterministic evidence bundle collected from Jenkins for one investigation.
Every field here is either a directly observed Jenkins fact, or an explicit "not
available" marker recorded in getWarnings(). Nothing in this class is inferred
or guessed - that is the job of the (optional) AI assessment layer, which is kept in a
separate object so observed evidence and AI interpretation are never conflated.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable builder used only during evidence collection. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()forChangeWindow(List<ChangeEntry> entries, int end) Projects saved changes without changing the original evidence or reading SCM.intlonglongintlongThe log excerpt as a single newline-joined string, for display.intintbooleanbooleanbooleanbooleanbooleanboolean
-
Method Details
-
forChangeWindow
Projects saved changes without changing the original evidence or reading SCM. -
getChangeWindowEnd
public int getChangeWindowEnd() -
getAiScope
-
getJobFullName
-
getJobUrl
-
getFailedBuildNumber
public int getFailedBuildNumber() -
getFailedBuildResult
-
getFailedBuildUrl
-
getFailedBuildStartTimeMillis
public long getFailedBuildStartTimeMillis() -
getFailedBuildDurationMillis
public long getFailedBuildDurationMillis() -
getFailedBuildDurationString
-
isPreviousSuccessfulBuildFound
public boolean isPreviousSuccessfulBuildFound() -
getPreviousSuccessfulBuildNumber
public int getPreviousSuccessfulBuildNumber() -
getPreviousSuccessfulBuildUrl
-
isNodeInfoAvailable
public boolean isNodeInfoAvailable() -
getNodeName
-
isChangeDataAvailable
public boolean isChangeDataAvailable() -
getChangeEntries
-
hasLastKnownRevision
public boolean hasLastKnownRevision() -
getLastKnownRevision
-
isLogAvailable
public boolean isLogAvailable() -
getLogExcerpt
-
getLogExcerptText
The log excerpt as a single newline-joined string, for display. Views should prefer this over iteratinggetLogExcerpt()line-by-line in a template: a Jelly<j:forEach>that tries to emit a literal newline between iterations is at the mercy of the Jelly/XML parser's whitespace handling and can silently collapse those newlines, running every line together in the rendered page. -
isLogExcerptTruncated
public boolean isLogExcerptTruncated() -
getLogLinesScanned
public int getLogLinesScanned() -
getWarnings
-
getCollectedAtMillis
public long getCollectedAtMillis() -
builder
-