Record Class CreateNewProjectWithInitDto
java.lang.Object
java.lang.Record
com.winchesters.devopsify.dto.request.project.CreateNewProjectWithInitDto
public record CreateNewProjectWithInitDto(CreateNewProjectGeneralDto general, CreateNewProjectGithubDto github, GenerateMavenProjectDto maven, CreateNewProjectDockerDto docker, CreateNewProjectJenkinsDto jenkins, CreateNewProjectNexusDto nexus, CreateNewProjectEc2Dto ec2)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCreateNewProjectWithInitDto
(CreateNewProjectGeneralDto general, CreateNewProjectGithubDto github, GenerateMavenProjectDto maven, CreateNewProjectDockerDto docker, CreateNewProjectJenkinsDto jenkins, CreateNewProjectNexusDto nexus, CreateNewProjectEc2Dto ec2) Creates an instance of aCreateNewProjectWithInitDto
record class. -
Method Summary
Modifier and TypeMethodDescriptiondocker()
Returns the value of thedocker
record component.ec2()
Returns the value of theec2
record component.final boolean
Indicates whether some other object is "equal to" this one.general()
Returns the value of thegeneral
record component.github()
Returns the value of thegithub
record component.final int
hashCode()
Returns a hash code value for this object.jenkins()
Returns the value of thejenkins
record component.maven()
Returns the value of themaven
record component.nexus()
Returns the value of thenexus
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CreateNewProjectWithInitDto
public CreateNewProjectWithInitDto(CreateNewProjectGeneralDto general, CreateNewProjectGithubDto github, GenerateMavenProjectDto maven, CreateNewProjectDockerDto docker, CreateNewProjectJenkinsDto jenkins, CreateNewProjectNexusDto nexus, CreateNewProjectEc2Dto ec2) Creates an instance of aCreateNewProjectWithInitDto
record class.- Parameters:
general
- the value for thegeneral
record componentgithub
- the value for thegithub
record componentmaven
- the value for themaven
record componentdocker
- the value for thedocker
record componentjenkins
- the value for thejenkins
record componentnexus
- the value for thenexus
record componentec2
- the value for theec2
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)
. -
general
Returns the value of thegeneral
record component.- Returns:
- the value of the
general
record component
-
github
Returns the value of thegithub
record component.- Returns:
- the value of the
github
record component
-
maven
Returns the value of themaven
record component.- Returns:
- the value of the
maven
record component
-
docker
Returns the value of thedocker
record component.- Returns:
- the value of the
docker
record component
-
jenkins
Returns the value of thejenkins
record component.- Returns:
- the value of the
jenkins
record component
-
nexus
Returns the value of thenexus
record component.- Returns:
- the value of the
nexus
record component
-
ec2
Returns the value of theec2
record component.- Returns:
- the value of the
ec2
record component
-