T - contained instance typepublic interface InstanceItemInfo<T> extends ItemInfo
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ItemId> |
getDuplicates()
Duplicate instances are completely ignored.
|
T |
getInstance() |
int |
getInstanceCount()
For example, if multiple bundles registered:
.bundles(new Bundle(), new Bundle(), new Bundle()
then their counts would be 1, 2 and 3 in order of registration. |
getId, getIgnoresByScope, getIgnoresByScope, getItemType, getRegisteredBy, getRegistrationAttempts, getRegistrationScope, getRegistrationScopeType, getType, isRegistered, isRegisteredDirectlyT getInstance()
int getInstanceCount()
.bundles(new Bundle(), new Bundle(), new Bundle()
then their counts would be 1, 2 and 3 in order of registration. For the same instances counts will be the same.
This number is required to differentiate instances in reporting.java.util.List<ItemId> getDuplicates()