Record Class DeploymentProjectWithEnvironmentForDashboard
java.lang.Object
java.lang.Record
com.atlassian.bamboo.deployments.projects.DeploymentProjectWithEnvironmentForDashboard
@Internal
public record DeploymentProjectWithEnvironmentForDashboard(Map<DeploymentProject,List<EnvironmentStub>> deploymentsWithEnvironments, boolean hasMore, int nextStart)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDeploymentProjectWithEnvironmentForDashboard
(Map<DeploymentProject, List<EnvironmentStub>> deploymentsWithEnvironments, boolean hasMore, int nextStart) Creates an instance of aDeploymentProjectWithEnvironmentForDashboard
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeploymentsWithEnvironments
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
hasMore()
Returns the value of thehasMore
record component.int
Returns the value of thenextStart
record component.toString()
Returns a string representation of this record class.
-
Constructor Details
-
DeploymentProjectWithEnvironmentForDashboard
public DeploymentProjectWithEnvironmentForDashboard(Map<DeploymentProject, List<EnvironmentStub>> deploymentsWithEnvironments, boolean hasMore, int nextStart) Creates an instance of aDeploymentProjectWithEnvironmentForDashboard
record class.- Parameters:
deploymentsWithEnvironments
- the value for thedeploymentsWithEnvironments
record componenthasMore
- the value for thehasMore
record componentnextStart
- the value for thenextStart
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
deploymentsWithEnvironments
Returns the value of thedeploymentsWithEnvironments
record component.- Returns:
- the value of the
deploymentsWithEnvironments
record component
-
hasMore
public boolean hasMore()Returns the value of thehasMore
record component.- Returns:
- the value of the
hasMore
record component
-
nextStart
public int nextStart()Returns the value of thenextStart
record component.- Returns:
- the value of the
nextStart
record component
-