Package de.espirit.firstspirit.agency
Interface ProjectReferencesAgent
public interface ProjectReferencesAgent
Agent to recalculate the reference graph of
a single element
or
the complete project
.- Since:
- 5.2.301
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SpecialistType<ProjectReferencesAgent>
This type is used for requesting the agent from aSpecialistsBroker
. -
Method Summary
Modifier and TypeMethodDescriptiongetBrokenReferences
(boolean release) Get all broken references from all current or release stores.getExternalReferences
(@Nullable String category, boolean release) Get all external references from the current or from the release stores.boolean
Returns ifrebuilding of all references
is in progress.void
Rebuild reference for all elements from all current and release stores.void
rebuildReferences
(IDProvider element) Recalculates the outgoing references of the givenelement
.
-
Field Details
-
TYPE
This type is used for requesting the agent from aSpecialistsBroker
.- Since:
- 5.2.301
-
-
Method Details
-
rebuildReferences
void rebuildReferences()Rebuild reference for all elements from all current and release stores.- Since:
- 5.2.301
-
isRebuildingReferences
boolean isRebuildingReferences()Returns ifrebuilding of all references
is in progress.- Returns:
true
if rebuilding is in progress,false
otherwise.- Since:
- 5.2.301
- See Also:
-
rebuildReferences
Recalculates the outgoing references of the givenelement
.
Important: Incoming references won't be fixed, missing or wrong incoming references must be fixed by rebuilding the references of the source element.- Parameters:
element
- The element for which the outgoing references will be recalculated.- Since:
- 5.2.301
-
getBrokenReferences
Get all broken references from all current or release stores.- Parameters:
release
- Providetrue
for references from release stores andfalse
for references from current stores.- Returns:
- The list of broken references.
- Since:
- 5.2.301
- See Also:
-
getExternalReferences
Get all external references from the current or from the release stores.- Parameters:
release
- Providetrue
for references from release stores andfalse
for references from current stores.category
- External reference category ornull
for external references from all categories.- Returns:
- A list of external references.
- Since:
- 5.2.301
-