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 aEnvironmentForExecutablesViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theenvironmentIdrecord component.Returns the value of theenvironmentNamerecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.longReturns the value of theprojectIdrecord component.Returns the value of theprojectNamerecord 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 aEnvironmentForExecutablesViewrecord class.- Parameters:
projectId- the value for theprojectIdrecord componentprojectName- the value for theprojectNamerecord componentenvironmentId- the value for theenvironmentIdrecord componentenvironmentName- the value for theenvironmentNamerecord 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 theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-
projectName
Returns the value of theprojectNamerecord component.- Returns:
- the value of the
projectNamerecord component
-
environmentId
public long environmentId()Returns the value of theenvironmentIdrecord component.- Returns:
- the value of the
environmentIdrecord component
-
environmentName
Returns the value of theenvironmentNamerecord component.- Returns:
- the value of the
environmentNamerecord component
-