public final class AbstractionManager<T extends Resolver>
extends java.lang.Object
Constructor and Description |
---|
AbstractionManager() |
Modifier and Type | Method and Description |
---|---|
void |
addAbstractionHandler(AbstractionHandler<T> handler) |
void |
addManagerChangeListener(java.util.function.Consumer<AbstractionManager<T>> listener) |
java.util.Collection<AbstractionHandler<T>> |
getActiveAbstractionHandlers() |
java.util.Collection<AbstractionHandler<T>> |
getAllAbstractionHandlers() |
java.util.Collection<T> |
getNotAbstractableObjects() |
void |
handleAbstraction(Resolver root,
Abstracter<T> abstracter) |
boolean |
isActive(AbstractionHandler<T> handler) |
void |
removeAbstractionHandler(AbstractionHandler<T> handler) |
void |
removeManagerChangeListener(java.util.function.Consumer<AbstractionManager<T>> listener) |
void |
setActive(AbstractionHandler<T> handler,
boolean active) |
void |
setObjectsAsAbstractable(java.util.Collection<T> objects) |
void |
setObjectsAsNotAbstractable(java.util.Collection<T> objects) |
public java.util.Collection<AbstractionHandler<T>> getAllAbstractionHandlers()
public java.util.Collection<AbstractionHandler<T>> getActiveAbstractionHandlers()
public boolean isActive(AbstractionHandler<T> handler)
public void setActive(AbstractionHandler<T> handler, boolean active)
public void addAbstractionHandler(AbstractionHandler<T> handler)
public void removeAbstractionHandler(AbstractionHandler<T> handler)
public void setObjectsAsNotAbstractable(java.util.Collection<T> objects)
public void setObjectsAsAbstractable(java.util.Collection<T> objects)
public java.util.Collection<T> getNotAbstractableObjects()
public void handleAbstraction(Resolver root, Abstracter<T> abstracter)
public void addManagerChangeListener(java.util.function.Consumer<AbstractionManager<T>> listener)
public void removeManagerChangeListener(java.util.function.Consumer<AbstractionManager<T>> listener)