Record Class BackendDockerfileDto
java.lang.Object
java.lang.Record
com.winchesters.devopsify.dto.request.BackendDockerfileDto
-
Constructor Summary
ConstructorsConstructorDescriptionBackendDockerfileDto
(String baseBuildImageName, String baseBuildImageVersion, String baseBuildJdkType, String jdkImageName, String jdkVersion, String jdkBaseOsName, String workdir, String port, String jarName, Boolean buildOnly) Creates an instance of aBackendDockerfileDto
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaseBuildImageName
record component.Returns the value of thebaseBuildImageVersion
record component.Returns the value of thebaseBuildJdkType
record component.Returns the value of thebuildOnly
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.jarName()
Returns the value of thejarName
record component.Returns the value of thejdkBaseOsName
record component.Returns the value of thejdkImageName
record component.Returns the value of thejdkVersion
record component.port()
Returns the value of theport
record component.final String
toString()
Returns a string representation of this record class.workdir()
Returns the value of theworkdir
record component.
-
Constructor Details
-
BackendDockerfileDto
public BackendDockerfileDto(String baseBuildImageName, String baseBuildImageVersion, String baseBuildJdkType, String jdkImageName, String jdkVersion, String jdkBaseOsName, String workdir, String port, String jarName, Boolean buildOnly) Creates an instance of aBackendDockerfileDto
record class.- Parameters:
baseBuildImageName
- the value for thebaseBuildImageName
record componentbaseBuildImageVersion
- the value for thebaseBuildImageVersion
record componentbaseBuildJdkType
- the value for thebaseBuildJdkType
record componentjdkImageName
- the value for thejdkImageName
record componentjdkVersion
- the value for thejdkVersion
record componentjdkBaseOsName
- the value for thejdkBaseOsName
record componentworkdir
- the value for theworkdir
record componentport
- the value for theport
record componentjarName
- the value for thejarName
record componentbuildOnly
- the value for thebuildOnly
record component
-
-
Method Details
-
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)
. -
baseBuildImageName
Returns the value of thebaseBuildImageName
record component.- Returns:
- the value of the
baseBuildImageName
record component
-
baseBuildImageVersion
Returns the value of thebaseBuildImageVersion
record component.- Returns:
- the value of the
baseBuildImageVersion
record component
-
baseBuildJdkType
Returns the value of thebaseBuildJdkType
record component.- Returns:
- the value of the
baseBuildJdkType
record component
-
jdkImageName
Returns the value of thejdkImageName
record component.- Returns:
- the value of the
jdkImageName
record component
-
jdkVersion
Returns the value of thejdkVersion
record component.- Returns:
- the value of the
jdkVersion
record component
-
jdkBaseOsName
Returns the value of thejdkBaseOsName
record component.- Returns:
- the value of the
jdkBaseOsName
record component
-
workdir
Returns the value of theworkdir
record component.- Returns:
- the value of the
workdir
record component
-
port
Returns the value of theport
record component.- Returns:
- the value of the
port
record component
-
jarName
Returns the value of thejarName
record component.- Returns:
- the value of the
jarName
record component
-
buildOnly
Returns the value of thebuildOnly
record component.- Returns:
- the value of the
buildOnly
record component
-