java.lang.Object
org.nasdanika.models.gitlab.util.LoadingEngine
Performs multi-object, multi-stage loading leveraging
Loader.-
Constructor Summary
ConstructorsConstructorDescriptionLoadingEngine(Loader loader) LoadingEngine(Loader loader, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisLoadBranches(Project modelProject) protected booleanisLoadProjects(Group modelGroup) protected booleanisLoadSubGroups(Group modelGroup) protected booleanisLoadTreeItem(TreeItem modelTreeItem) voidsetExecutor(Executor executor)
-
Constructor Details
-
LoadingEngine
-
LoadingEngine
-
-
Method Details
-
getExecutor
-
setExecutor
- Parameters:
executor- To execute loading in parallel
-
isLoadSubGroups
- Parameters:
modelGroup-- Returns:
- true if sub-groups of this group shall be (re) loaded
-
isLoadProjects
- Parameters:
modelGroup-- Returns:
- true if projects of this group shall be (re) loaded
-
isLoadBranches
- Parameters:
modelProject-- Returns:
- true if branches of this project shall be (re) loaded
-
isLoadTreeItem
- Parameters:
modelTreeItem-- Returns:
- true if content of this tree item shall be (re) loaded
-