Package io.camunda.zeebe.exporter.dto
Record Class Template
java.lang.Object
java.lang.Record
io.camunda.zeebe.exporter.dto.Template
public record Template(List<String> patterns, List<String> composedOf, Template.TemplateProperty template, Long priority, Long version)
extends Record
Index template representation. You can read more about index templates here.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomposedOfrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.patterns()Returns the value of thepatternsrecord component.priority()Returns the value of thepriorityrecord component.template()Returns the value of thetemplaterecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
Template
public Template(List<String> patterns, List<String> composedOf, Template.TemplateProperty template, Long priority, Long version) Creates an instance of aTemplaterecord class.- Parameters:
patterns- the value for thepatternsrecord componentcomposedOf- the value for thecomposedOfrecord componenttemplate- the value for thetemplaterecord componentpriority- the value for thepriorityrecord componentversion- the value for theversionrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
patterns
Returns the value of thepatternsrecord component.- Returns:
- the value of the
patternsrecord component
-
composedOf
Returns the value of thecomposedOfrecord component.- Returns:
- the value of the
composedOfrecord component
-
template
Returns the value of thetemplaterecord component.- Returns:
- the value of the
templaterecord component
-
priority
Returns the value of thepriorityrecord component.- Returns:
- the value of the
priorityrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-