Class StageChainRegistry<T extends Stage,K extends StageChainIdentifier>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,StageChain<T>>
com.github.nishgpt.chainexecutor.models.stage.StageChainRegistry<T,K>
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,StageChain<T>>
public class StageChainRegistry<T extends Stage,K extends StageChainIdentifier>
extends HashMap<K,StageChain<T>>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChainHead(K chainIdentifier) getNextStage(K chainIdentifier, T currentStage) getStageChain(K chainIdentifier) voidMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
StageChainRegistry
public StageChainRegistry()
-
-
Method Details
-
getStageChain
-
getNextStage
-
getChainHead
-
validateAllChains
public void validateAllChains()
-