|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faktorips.runtime.internal.AbstractRuntimeRepositoryManager
public abstract class AbstractRuntimeRepositoryManager
The AbstractRuntimeRepositoryManager manages the referenced
IRuntimeRepositoryManager. It delegates the up to date check and the creation of new
repositories to the subclass.
| Constructor Summary | |
|---|---|
AbstractRuntimeRepositoryManager()
Creates a new AbstractRuntimeRepositoryManager |
|
| Method Summary | |
|---|---|
void |
addDirectlyReferencedManager(IRuntimeRepositoryManager manager)
Use this method to add a referenced IRuntimeRepositoryManager. |
protected abstract IRuntimeRepository |
createNewRuntimeRepository()
Creates a new repository. |
IRuntimeRepository |
getActualRuntimeRepository()
Deprecated. since 3.9.0: The method name was a false translation from German. The correct method is called getCurrentRuntimeRepository() |
List<IRuntimeRepositoryManager> |
getAllReferencedRepositoryManagers()
Collect all referenced manager. |
IRuntimeRepository |
getCurrentRuntimeRepository()
Call a modification check on the product data provider. |
List<IRuntimeRepositoryManager> |
getDirectlyReferencedRepositoryManagers()
Get the list of direct references managers. |
protected abstract boolean |
isRepositoryUpToDate(IRuntimeRepository currentRuntimeRepository)
This method checks whether the IRuntimeRepository is up to date or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractRuntimeRepositoryManager()
AbstractRuntimeRepositoryManager
| Method Detail |
|---|
@Deprecated public IRuntimeRepository getActualRuntimeRepository()
getCurrentRuntimeRepository()
IRuntimeRepository. If there are no changes
this method simply returns the existing one.
getActualRuntimeRepository in interface IRuntimeRepositoryManagerpublic IRuntimeRepository getCurrentRuntimeRepository()
IRuntimeRepository. If there are no changes
this method simply returns the existing one. The current runtime repository can be
null.
Every direct referenced manger will be asked for it current repository. If any direct
referenced manager returns null as its current repository, this direct
referenced repository will be ignored.
getCurrentRuntimeRepository in interface IRuntimeRepositoryManagerprotected abstract boolean isRepositoryUpToDate(IRuntimeRepository currentRuntimeRepository)
IRuntimeRepository is up to date or not. If this
method returns false, a new repository have to be created
currentRuntimeRepository - The actual runtime repository that have to be checked
protected abstract IRuntimeRepository createNewRuntimeRepository()
IRuntimeRepositorypublic final void addDirectlyReferencedManager(IRuntimeRepositoryManager manager)
IRuntimeRepositoryManagerIRuntimeRepositoryManager. The
IRuntimeRepository returned by IRuntimeRepositoryManager.getCurrentRuntimeRepository() asks all
references managers for their repositories and adding the references.
addDirectlyReferencedManager in interface IRuntimeRepositoryManagermanager - The manager to connect with this managerpublic List<IRuntimeRepositoryManager> getDirectlyReferencedRepositoryManagers()
IRuntimeRepositoryManager
getDirectlyReferencedRepositoryManagers in interface IRuntimeRepositoryManagerpublic List<IRuntimeRepositoryManager> getAllReferencedRepositoryManagers()
IRuntimeRepositoryManager
getAllReferencedRepositoryManagers in interface IRuntimeRepositoryManagerIRuntimeRepositoryManager that are referenced directly or
indirectly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||