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
FieldsModifier 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.booleanReturns ifrebuilding of all referencesis in progress.voidRebuild reference for all elements from all current and release stores.voidrebuildReferences(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 referencesis in progress.- Returns:
trueif rebuilding is in progress,falseotherwise.- 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- Providetruefor references from release stores andfalsefor 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- Providetruefor references from release stores andfalsefor references from current stores.category- External reference category ornullfor external references from all categories.- Returns:
- A list of external references.
- Since:
- 5.2.301
-