Record Class CreateNewProjectDto
java.lang.Object
java.lang.Record
com.winchesters.devopsify.dto.request.project.CreateNewProjectDto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebuildSystemrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinitGitRepositoryrecord component.JDK()Returns the value of theJDKrecord component.language()Returns the value of thelanguagerecord component.location()Returns the value of thelocationrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateNewProjectDto
public CreateNewProjectDto(String name, String location, String language, String buildSystem, String JDK, Boolean initGitRepository) Creates an instance of aCreateNewProjectDtorecord class.- Parameters:
name- the value for thenamerecord componentlocation- the value for thelocationrecord componentlanguage- the value for thelanguagerecord componentbuildSystem- the value for thebuildSystemrecord componentJDK- the value for theJDKrecord componentinitGitRepository- the value for theinitGitRepositoryrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
language
Returns the value of thelanguagerecord component.- Returns:
- the value of the
languagerecord component
-
buildSystem
Returns the value of thebuildSystemrecord component.- Returns:
- the value of the
buildSystemrecord component
-
JDK
Returns the value of theJDKrecord component.- Returns:
- the value of the
JDKrecord component
-
initGitRepository
Returns the value of theinitGitRepositoryrecord component.- Returns:
- the value of the
initGitRepositoryrecord component
-