public interface ProjectReferencesAgent
a single element
or
the complete project
.Modifier and Type | Field and Description |
---|---|
static SpecialistType<ProjectReferencesAgent> |
TYPE
This type is used for requesting the agent from a
SpecialistsBroker . |
Modifier and Type | Method and Description |
---|---|
List<ReferenceEntry> |
getBrokenReferences(boolean release)
Get all broken references from all current or release stores.
|
List<ReferenceEntry> |
getExternalReferences(String category,
boolean release)
Get all external references from the current or from the release stores.
|
boolean |
isRebuildingReferences()
Returns if
rebuilding of all references is in progress. |
void |
rebuildReferences()
Rebuild reference for all elements from all current and release stores.
|
void |
rebuildReferences(IDProvider element)
Recalculates the outgoing references of the given
element . |
static final SpecialistType<ProjectReferencesAgent> TYPE
SpecialistsBroker
.void rebuildReferences()
boolean isRebuildingReferences()
rebuilding of all references
is in progress.true
if rebuilding is in progress, false
otherwise.rebuildReferences()
void rebuildReferences(IDProvider element)
element
.
Important: Incoming references won't be fixed, missing or wrong incoming references must be fixed by
rebuilding the references of the source element.element
- The element for which the outgoing references will be recalculated.List<ReferenceEntry> getBrokenReferences(boolean release)
release
- Provide true
for references from release stores and false
for references from current
stores.isRebuildingReferences()
List<ReferenceEntry> getExternalReferences(@Nullable String category, boolean release)
release
- Provide true
for references from release stores and false
for references from current
stores.category
- External reference category or null
for external references from all categories.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210