Record Class CommonProcessor.DockerfileDetectionResult
java.lang.Object
java.lang.Record
io.quarkus.container.image.docker.common.deployment.CommonProcessor.DockerfileDetectionResult
- All Implemented Interfaces:
CommonProcessor.DockerfilePaths
- Enclosing class:
CommonProcessor<C extends CommonConfig>
protected static record CommonProcessor.DockerfileDetectionResult(Path dockerfilePath, Path dockerExecutionPath)
extends Record
implements CommonProcessor.DockerfilePaths
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDockerfileDetectionResult(Path dockerfilePath, Path dockerExecutionPath) Creates an instance of aDockerfileDetectionResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionprotected static CommonProcessor.DockerfilePathsReturns the value of thedockerExecutionPathrecord component.Returns the value of thedockerfilePathrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DockerfileDetectionResult
Creates an instance of aDockerfileDetectionResultrecord class.- Parameters:
dockerfilePath- the value for thedockerfilePathrecord componentdockerExecutionPath- the value for thedockerExecutionPathrecord component
-
-
Method Details
-
detect
-
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. -
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. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
dockerfilePath
Returns the value of thedockerfilePathrecord component.- Specified by:
dockerfilePathin interfaceCommonProcessor.DockerfilePaths- Returns:
- the value of the
dockerfilePathrecord component
-
dockerExecutionPath
Returns the value of thedockerExecutionPathrecord component.- Specified by:
dockerExecutionPathin interfaceCommonProcessor.DockerfilePaths- Returns:
- the value of the
dockerExecutionPathrecord component
-