Record Class ApplicationDeploymentPlan
java.lang.Object
java.lang.Record
org.j7m.middleware.application.api.ApplicationDeploymentPlan
- Record Components:
coordinate- planned coordinatestate- plan statesteps- safe execution steps
public record ApplicationDeploymentPlan(ApplicationCoordinate coordinate, ApplicationRunState state, List<String> steps)
extends Record
Immutable activation plan.
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationDeploymentPlan(ApplicationCoordinate coordinate, ApplicationRunState state, List<String> steps) Creates immutable plan data. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecoordinaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.state()Returns the value of thestaterecord component.steps()Returns the value of thestepsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApplicationDeploymentPlan
public ApplicationDeploymentPlan(ApplicationCoordinate coordinate, ApplicationRunState state, List<String> steps) Creates immutable plan data.
-
-
Method Details
-
toString
-
hashCode
-
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). -
coordinate
Returns the value of thecoordinaterecord component.- Returns:
- the value of the
coordinaterecord component
-
state
-
steps
-