Enclosing class:
PipelineLogExtractor
public static record PipelineLogExtractor.ExtractionResult (
List <
String > logLines,
String url, boolean fallbackToBuildLog, boolean foundFailingNode,
String primaryNodeId, boolean downstreamCollectionEnabled, int downstreamMatchedCount, int downstreamReusedExplanationCount, int downstreamPermissionSkippedCount)
extends Record
Constructor Summary
Constructors
ExtractionResult (List <String > logLines,
String url,
boolean fallbackToBuildLog,
boolean foundFailingNode,
String primaryNodeId,
boolean downstreamCollectionEnabled,
int downstreamMatchedCount,
int downstreamReusedExplanationCount,
int downstreamPermissionSkippedCount)
Creates an instance of a ExtractionResult record class.
Method Summary
All Methods Instance Methods Concrete Methods
boolean
Returns the value of the downstreamCollectionEnabled record component.
int
Returns the value of the downstreamMatchedCount record component.
int
Returns the value of the downstreamPermissionSkippedCount record component.
int
Returns the value of the downstreamReusedExplanationCount record component.
final boolean
Indicates whether some other object is "equal to" this one.
boolean
Returns the value of the fallbackToBuildLog record component.
boolean
Returns the value of the foundFailingNode record component.
int
final int
Returns a hash code value for this object.
Returns the value of the logLines record component.
Returns the value of the primaryNodeId record component.
Returns a string representation of this record class.
Returns the value of the url record component.
Constructor Details
ExtractionResult
public ExtractionResult (List <String > logLines,
@CheckForNull
String url,
boolean fallbackToBuildLog,
boolean foundFailingNode,
@CheckForNull
String primaryNodeId,
boolean downstreamCollectionEnabled,
int downstreamMatchedCount,
int downstreamReusedExplanationCount,
int downstreamPermissionSkippedCount)
Creates an instance of a ExtractionResult record class.
Parameters:
logLines - the value for the logLines record component
url - the value for the url record component
fallbackToBuildLog - the value for the fallbackToBuildLog record component
foundFailingNode - the value for the foundFailingNode record component
primaryNodeId - the value for the primaryNodeId record component
downstreamCollectionEnabled - the value for the downstreamCollectionEnabled record component
downstreamMatchedCount - the value for the downstreamMatchedCount record component
downstreamReusedExplanationCount - the value for the downstreamReusedExplanationCount record component
downstreamPermissionSkippedCount - the value for the downstreamPermissionSkippedCount record component
Method Details
toString
public final String toString ()
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
Specified by:
toString in class Record
Returns:
a string representation of this object
hashCode
public final int hashCode ()
Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
Specified by:
hashCode in class Record
Returns:
a hash code value for this object
equals
public final boolean equals (Object o)
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with
Objects::equals(Object,Object); primitive components are compared with '=='.
Specified by:
equals in class Record
Parameters:
o - the object with which to compare
Returns:
true if this object is the same as the o argument; false otherwise.
logLines
Returns the value of the logLines record component.
Returns:
the value of the logLines record component
url
@CheckForNull
public String url ()
Returns the value of the url record component.
Returns:
the value of the url record component
fallbackToBuildLog
public boolean fallbackToBuildLog ()
Returns the value of the fallbackToBuildLog record component.
Returns:
the value of the fallbackToBuildLog record component
foundFailingNode
public boolean foundFailingNode ()
Returns the value of the foundFailingNode record component.
Returns:
the value of the foundFailingNode record component
primaryNodeId
@CheckForNull
public String primaryNodeId ()
Returns the value of the primaryNodeId record component.
Returns:
the value of the primaryNodeId record component
downstreamCollectionEnabled
public boolean downstreamCollectionEnabled ()
Returns the value of the downstreamCollectionEnabled record component.
Returns:
the value of the downstreamCollectionEnabled record component
downstreamMatchedCount
public int downstreamMatchedCount ()
Returns the value of the downstreamMatchedCount record component.
Returns:
the value of the downstreamMatchedCount record component
downstreamReusedExplanationCount
public int downstreamReusedExplanationCount ()
Returns the value of the downstreamReusedExplanationCount record component.
Returns:
the value of the downstreamReusedExplanationCount record component
downstreamPermissionSkippedCount
public int downstreamPermissionSkippedCount ()
Returns the value of the downstreamPermissionSkippedCount record component.
Returns:
the value of the downstreamPermissionSkippedCount record component