Record Class FragmentTemplateEngine.Update
java.lang.Object
java.lang.Record
aQute.bnd.wstemplates.FragmentTemplateEngine.Update
- All Implemented Interfaces:
Comparable<FragmentTemplateEngine.Update>
- Enclosing class:
FragmentTemplateEngine
public static record FragmentTemplateEngine.Update(FragmentTemplateEngine.UpdateStatus status, File to, Resource from, Set<FragmentTemplateEngine.Action> actions, FragmentTemplateEngine.TemplateInfo info)
extends Record
implements Comparable<FragmentTemplateEngine.Update>
A single update operation
-
Constructor Summary
ConstructorsConstructorDescriptionUpdate(FragmentTemplateEngine.UpdateStatus status, File to, Resource from, Set<FragmentTemplateEngine.Action> actions, FragmentTemplateEngine.TemplateInfo info) Creates an instance of aUpdaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.intfinal booleanIndicates whether some other object is "equal to" this one.from()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.info()Returns the value of theinforecord component.status()Returns the value of thestatusrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Update
public Update(FragmentTemplateEngine.UpdateStatus status, File to, Resource from, Set<FragmentTemplateEngine.Action> actions, FragmentTemplateEngine.TemplateInfo info) Creates an instance of aUpdaterecord class.- Parameters:
status- the value for thestatusrecord componentto- the value for thetorecord componentfrom- the value for thefromrecord componentactions- the value for theactionsrecord componentinfo- the value for theinforecord component
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<FragmentTemplateEngine.Update>
-
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). -
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
to
Returns the value of thetorecord component.- Returns:
- the value of the
torecord component
-
from
Returns the value of thefromrecord component.- Returns:
- the value of the
fromrecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-
info
Returns the value of theinforecord component.- Returns:
- the value of the
inforecord component
-