public class PathRegistry<K,E> extends Object
Constructor and Description |
---|
PathRegistry(PathRegistryObjectType objectType) |
Modifier and Type | Method and Description |
---|---|
void |
add(K entityKey,
String moduleName,
E entity,
String deploymentId) |
void |
addDependency(K entityKey,
String moduleName,
String deploymentIdDep) |
PathRegistry<K,E> |
copy() |
void |
deleteDeployment(String deploymentId) |
Pair<E,String> |
getAnyModuleExpectSingle(K entityKey,
Set<String> moduleUses) |
int |
getCount() |
Set<String> |
getDependencies(K entityKey,
String moduleName) |
String |
getDeploymentId(K entityEntity,
String moduleName) |
PathRegistryObjectType |
getObjectType() |
E |
getWithModule(K entityKey,
String moduleName) |
void |
mergeFrom(PathRegistry<K,E> other) |
void |
removeDependency(K entityKey,
String moduleName,
String deploymentId) |
void |
traverse(Consumer<E> consumer) |
public PathRegistry(PathRegistryObjectType objectType)
public PathRegistryObjectType getObjectType()
public void add(K entityKey, String moduleName, E entity, String deploymentId) throws PathException
PathException
public Pair<E,String> getAnyModuleExpectSingle(K entityKey, Set<String> moduleUses) throws PathException
PathException
public void deleteDeployment(String deploymentId)
public int getCount()
public void mergeFrom(PathRegistry<K,E> other)
public PathRegistry<K,E> copy()
Copyright © 2005–2018. All rights reserved.