public class ActivationListeners<K> extends Object implements ActivationManager<K>
| Constructor and Description |
|---|
ActivationListeners(boolean stateForMissingKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(K key) |
void |
deactivate(K key) |
void |
deregisterListener(ActivationListener<K> listener) |
Set<K> |
getKeys() |
boolean |
isActive(K key) |
void |
registerListener(ActivationListener<K> listener) |
void |
setActive(K key,
boolean value) |
public boolean isActive(K key)
isActive in interface ActivationProvider<K>public void setActive(K key, boolean value)
setActive in interface ActivationSink<K>public void activate(K key)
activate in interface ActivationSink<K>public void deactivate(K key)
deactivate in interface ActivationSink<K>public void registerListener(ActivationListener<K> listener)
registerListener in interface ActivationListenable<K>public void deregisterListener(ActivationListener<K> listener)
deregisterListener in interface ActivationListenable<K>Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.