Record Class ExecCommandNotFoundFailure
java.lang.Object
java.lang.Record
com.palantir.gradle.failurereports.handlers.ExecCommandNotFoundFailure
-
Constructor Summary
ConstructorsConstructorDescriptionExecCommandNotFoundFailure(String taskPath, String missingCommand, boolean commandFoundOnPath) Creates an instance of aExecCommandNotFoundFailurerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecommandFoundOnPathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themissingCommandrecord component.static StringrenderMessage(List<ExecCommandNotFoundFailure> failures) taskPath()Returns the value of thetaskPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExecCommandNotFoundFailure
public ExecCommandNotFoundFailure(String taskPath, String missingCommand, boolean commandFoundOnPath) Creates an instance of aExecCommandNotFoundFailurerecord class.- Parameters:
taskPath- the value for thetaskPathrecord componentmissingCommand- the value for themissingCommandrecord componentcommandFoundOnPath- the value for thecommandFoundOnPathrecord component
-
-
Method Details
-
renderMessage
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
taskPath
Returns the value of thetaskPathrecord component.- Returns:
- the value of the
taskPathrecord component
-
missingCommand
Returns the value of themissingCommandrecord component.- Returns:
- the value of the
missingCommandrecord component
-
commandFoundOnPath
public boolean commandFoundOnPath()Returns the value of thecommandFoundOnPathrecord component.- Returns:
- the value of the
commandFoundOnPathrecord component
-