Interface PropagateAttributeContext
- All Superinterfaces:
AttributeContext,AttributeLoaderContext,RowAttributeContext
The context interface for propagate attribute loaders.
This interface is passed to the function that loads the child row's value. When
that function is created with PropagateAttributeLoader.loadChildren(com.almworks.jira.structure.api.attribute.AttributeValue<T>, com.almworks.jira.structure.api.attribute.loader.PropagateAttributeContext.Parent) function,
a different context is used - PropagateAttributeContext.Parent.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe context interface for preparing children loading function by a propagate. -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()Returns the index of the currently calculated row in the list of the parent's children.Methods inherited from interface AttributeContext
getBaseStructureId, getBaseUrl, getI18n, getI18nHelper, getLoadTimeMillis, getLoadTimeNanos, getLocale, getObject, getTimeZone, getUser, putObjectMethods inherited from interface AttributeLoaderContext
addTrail, addTrail, getDependencyAttributeValue, getDependencyValue, valueExpiresMethods inherited from interface RowAttributeContext
getRow
-
Method Details
-
getIndex
int getIndex()Returns the index of the currently calculated row in the list of the parent's children.- Returns:
- the index of the current row among siblings
-