public class StackContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StackContext.LatestRepoQueryExecutor
Executor used to execute repository update tasks.
|
| Constructor and Description |
|---|
StackContext(MetainfoDAO metaInfoDAO,
ActionMetadata actionMetaData,
OsFamily osFamily)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeRepoTasks()
Execute the registered repo update tasks.
|
boolean |
haveAllRepoTasksCompleted()
Determine if all registered repo update tasks have completed.
|
void |
registerRepoUpdateTask(URI uri,
StackModule stack)
Register a task to obtain the latest repo url from an external location.
|
void |
registerServiceCheck(String serviceName)
Register a service check.
|
public StackContext(MetainfoDAO metaInfoDAO, ActionMetadata actionMetaData, OsFamily osFamily)
metaInfoDAO - metainfo data access objectactionMetaData - action meta dataosFamily - OS family informationpublic void registerServiceCheck(String serviceName)
serviceName - name of the servicepublic void registerRepoUpdateTask(URI uri, StackModule stack)
url - external repo information URLstack - stack modulepublic void executeRepoTasks()
public boolean haveAllRepoTasksCompleted()
Copyright © 2022 Apache Software Foundation. All rights reserved.