Record Class CommonProcessor.ProvidedDockerfile
java.lang.Object
java.lang.Record
io.quarkus.container.image.docker.common.deployment.CommonProcessor.ProvidedDockerfile
- All Implemented Interfaces:
CommonProcessor.DockerfilePaths
- Enclosing class:
CommonProcessor<C extends CommonConfig>
protected static record CommonProcessor.ProvidedDockerfile(Path dockerfilePath, Path dockerExecutionPath)
extends Record
implements CommonProcessor.DockerfilePaths
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProvidedDockerfile(Path dockerfilePath, Path dockerExecutionPath) Creates an instance of aProvidedDockerfilerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedockerExecutionPathrecord component.Returns the value of thedockerfilePathrecord component.final booleanIndicates whether some other object is "equal to" this one.protected static CommonProcessor.DockerfilePathsfinal inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProvidedDockerfile
Creates an instance of aProvidedDockerfilerecord class.- Parameters:
dockerfilePath- the value for thedockerfilePathrecord componentdockerExecutionPath- the value for thedockerExecutionPathrecord component
-
-
Method Details
-
get
-
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
-