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 aBackendDockerfileDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebaseBuildImageNamerecord component.Returns the value of thebaseBuildImageVersionrecord component.Returns the value of thebaseBuildJdkTyperecord component.Returns the value of thebuildOnlyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jarName()Returns the value of thejarNamerecord component.Returns the value of thejdkBaseOsNamerecord component.Returns the value of thejdkImageNamerecord component.Returns the value of thejdkVersionrecord component.port()Returns the value of theportrecord component.final StringtoString()Returns a string representation of this record class.workdir()Returns the value of theworkdirrecord 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 aBackendDockerfileDtorecord class.- Parameters:
baseBuildImageName- the value for thebaseBuildImageNamerecord componentbaseBuildImageVersion- the value for thebaseBuildImageVersionrecord componentbaseBuildJdkType- the value for thebaseBuildJdkTyperecord componentjdkImageName- the value for thejdkImageNamerecord componentjdkVersion- the value for thejdkVersionrecord componentjdkBaseOsName- the value for thejdkBaseOsNamerecord componentworkdir- the value for theworkdirrecord componentport- the value for theportrecord componentjarName- the value for thejarNamerecord componentbuildOnly- the value for thebuildOnlyrecord 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 thebaseBuildImageNamerecord component.- Returns:
- the value of the
baseBuildImageNamerecord component
-
baseBuildImageVersion
Returns the value of thebaseBuildImageVersionrecord component.- Returns:
- the value of the
baseBuildImageVersionrecord component
-
baseBuildJdkType
Returns the value of thebaseBuildJdkTyperecord component.- Returns:
- the value of the
baseBuildJdkTyperecord component
-
jdkImageName
Returns the value of thejdkImageNamerecord component.- Returns:
- the value of the
jdkImageNamerecord component
-
jdkVersion
Returns the value of thejdkVersionrecord component.- Returns:
- the value of the
jdkVersionrecord component
-
jdkBaseOsName
Returns the value of thejdkBaseOsNamerecord component.- Returns:
- the value of the
jdkBaseOsNamerecord component
-
workdir
Returns the value of theworkdirrecord component.- Returns:
- the value of the
workdirrecord component
-
port
Returns the value of theportrecord component.- Returns:
- the value of the
portrecord component
-
jarName
Returns the value of thejarNamerecord component.- Returns:
- the value of the
jarNamerecord component
-
buildOnly
Returns the value of thebuildOnlyrecord component.- Returns:
- the value of the
buildOnlyrecord component
-