Class ItemTypeAttributeLoader<A>
Object
AbstractAttributeLoader<T>
AbstractItemAttributeLoader<A>
ItemTypeAttributeLoader<A>
- All Implemented Interfaces:
AttributeLoader<A>,ItemAttributeLoader<A>
- Direct Known Subclasses:
ItemClassAttributeLoader
-
Field Summary
FieldsFields inherited from class AbstractAttributeLoader
mySpec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanisItemTypeSupported(String itemType) Lets the loader declare if it can handle items of a given type.Methods inherited from class AbstractAttributeLoader
getAttributeSpec, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AttributeLoader
getAttributeDependencies, getAttributeSpec, getCachingStrategy, getContextDependencies, getGlobalTrailMethods inherited from interface ItemAttributeLoader
loadValue, preload
-
Field Details
-
myItemTypes
-
-
Constructor Details
-
ItemTypeAttributeLoader
-
-
Method Details
-
isItemTypeSupported
Description copied from interface:ItemAttributeLoaderLets the loader declare if it can handle items of a given type. If the loader returns
falsefor some type, itsItemAttributeLoader.loadValue(com.almworks.jira.structure.api.item.ItemIdentity, com.almworks.jira.structure.api.attribute.loader.ItemAttributeContext)function will not be called for items of that type; also, non-supported items will be excluded from the collection passed toItemAttributeLoader.preload(java.util.Collection<com.almworks.jira.structure.api.item.ItemIdentity>, com.almworks.jira.structure.api.attribute.loader.AttributeContext)method.The returned value must be the same for the same item type throughout the lifetime of the object.
- Parameters:
itemType- the type of item- Returns:
- true if the loader supports this item type.
- See Also:
-