Record Class LocalDeployResult
java.lang.Object
java.lang.Record
com.cloudforge.core.local.LocalDeployResult
-
Constructor Summary
ConstructorsConstructorDescriptionLocalDeployResult(String stackName, boolean created, boolean noOp, List<LocalResourceChange> changes, Map<String, String> outputs) Creates an instance of aLocalDeployResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchanges()Returns the value of thechangesrecord component.booleancreated()Returns the value of thecreatedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleannoOp()Returns the value of thenoOprecord component.outputs()Returns the value of theoutputsrecord component.Returns the value of thestackNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LocalDeployResult
public LocalDeployResult(String stackName, boolean created, boolean noOp, List<LocalResourceChange> changes, Map<String, String> outputs) Creates an instance of aLocalDeployResultrecord class.- Parameters:
stackName- the value for thestackNamerecord componentcreated- the value for thecreatedrecord componentnoOp- the value for thenoOprecord componentchanges- the value for thechangesrecord componentoutputs- the value for theoutputsrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
stackName
Returns the value of thestackNamerecord component.- Returns:
- the value of the
stackNamerecord component
-
created
public boolean created()Returns the value of thecreatedrecord component.- Returns:
- the value of the
createdrecord component
-
noOp
public boolean noOp()Returns the value of thenoOprecord component.- Returns:
- the value of the
noOprecord component
-
changes
Returns the value of thechangesrecord component.- Returns:
- the value of the
changesrecord component
-
outputs
-