Record Class LocalDeploymentRequest
java.lang.Object
java.lang.Record
com.cloudforge.core.local.LocalDeploymentRequest
-
Constructor Summary
ConstructorsConstructorDescriptionLocalDeploymentRequest(DeploymentTarget target, String localStackName, Path canonicalTemplate, Path localTemplate, Path adaptationReport, String contextStackName) Creates an instance of aLocalDeploymentRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadaptationReportrecord component.Returns the value of thecanonicalTemplaterecord component.Returns the value of thecontextStackNamerecord component.final booleanIndicates whether some other object is "equal to" this one.static LocalDeploymentRequestforTarget(DeploymentTarget target, String contextStackName, Path canonicalTemplate, Path outputDirectory) final inthashCode()Returns a hash code value for this object.Returns the value of thelocalStackNamerecord component.Returns the value of thelocalTemplaterecord component.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LocalDeploymentRequest
public LocalDeploymentRequest(DeploymentTarget target, String localStackName, Path canonicalTemplate, Path localTemplate, Path adaptationReport, String contextStackName) Creates an instance of aLocalDeploymentRequestrecord class.- Parameters:
target- the value for thetargetrecord componentlocalStackName- the value for thelocalStackNamerecord componentcanonicalTemplate- the value for thecanonicalTemplaterecord componentlocalTemplate- the value for thelocalTemplaterecord componentadaptationReport- the value for theadaptationReportrecord componentcontextStackName- the value for thecontextStackNamerecord component
-
-
Method Details
-
forTarget
public static LocalDeploymentRequest forTarget(DeploymentTarget target, String contextStackName, Path canonicalTemplate, Path outputDirectory) -
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). -
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-
localStackName
Returns the value of thelocalStackNamerecord component.- Returns:
- the value of the
localStackNamerecord component
-
canonicalTemplate
Returns the value of thecanonicalTemplaterecord component.- Returns:
- the value of the
canonicalTemplaterecord component
-
localTemplate
Returns the value of thelocalTemplaterecord component.- Returns:
- the value of the
localTemplaterecord component
-
adaptationReport
Returns the value of theadaptationReportrecord component.- Returns:
- the value of the
adaptationReportrecord component
-
contextStackName
Returns the value of thecontextStackNamerecord component.- Returns:
- the value of the
contextStackNamerecord component
-