Record Class EnvironmentForExecutablesView
java.lang.Object
java.lang.Record
com.atlassian.bamboo.deployments.environments.EnvironmentForExecutablesView
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentForExecutablesView
(long projectId, String projectName, long environmentId, String environmentName) Creates an instance of aEnvironmentForExecutablesView
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the value of theenvironmentId
record component.Returns the value of theenvironmentName
record component.boolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for this object.long
Returns the value of theprojectId
record component.Returns the value of theprojectName
record component.toString()
Returns a string representation of this record class.
-
Constructor Details
-
EnvironmentForExecutablesView
public EnvironmentForExecutablesView(long projectId, String projectName, long environmentId, String environmentName) Creates an instance of aEnvironmentForExecutablesView
record class.- Parameters:
projectId
- the value for theprojectId
record componentprojectName
- the value for theprojectName
record componentenvironmentId
- the value for theenvironmentId
record componentenvironmentName
- the value for theenvironmentName
record component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
projectId
public long projectId()Returns the value of theprojectId
record component.- Returns:
- the value of the
projectId
record component
-
projectName
Returns the value of theprojectName
record component.- Returns:
- the value of the
projectName
record component
-
environmentId
public long environmentId()Returns the value of theenvironmentId
record component.- Returns:
- the value of the
environmentId
record component
-
environmentName
Returns the value of theenvironmentName
record component.- Returns:
- the value of the
environmentName
record component
-