Record Class TemplateAdaptation
java.lang.Object
java.lang.Record
com.cloudforge.core.local.TemplateAdaptation
-
Constructor Summary
ConstructorsConstructorDescriptionTemplateAdaptation(String path, String reason, com.fasterxml.jackson.databind.JsonNode original) Creates an instance of aTemplateAdaptationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.fasterxml.jackson.databind.JsonNodeoriginal()Returns the value of theoriginalrecord component.path()Returns the value of thepathrecord component.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TemplateAdaptation
public TemplateAdaptation(String path, String reason, com.fasterxml.jackson.databind.JsonNode original) Creates an instance of aTemplateAdaptationrecord class.- Parameters:
path- the value for thepathrecord componentreason- the value for thereasonrecord componentoriginal- the value for theoriginalrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
original
public com.fasterxml.jackson.databind.JsonNode original()Returns the value of theoriginalrecord component.- Returns:
- the value of the
originalrecord component
-