public class ActionManager extends Object implements Iterable<UpdateAction>
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class<? extends UpdateAction>,UpdateAction> |
registry |
| Constructor and Description |
|---|
ActionManager() |
| Modifier and Type | Method and Description |
|---|---|
UpdateAction |
getUpdateAction(Class<? extends UpdateAction> actionClass)
Get update action
|
boolean |
hasActions() |
Iterator<UpdateAction> |
iterator()
This implementation guarantees the iterator order is the same as the order
in which updateActions have been added
|
protected Map<Class<? extends UpdateAction>,UpdateAction> registry
public UpdateAction getUpdateAction(Class<? extends UpdateAction> actionClass) throws InstantiationException, IllegalAccessException
actionClass - UpdateAction classInstantiationException - if instantiation errorIllegalAccessException - if illegal access errorpublic boolean hasActions()
public Iterator<UpdateAction> iterator()
iterator in interface Iterable<UpdateAction>Copyright © 2016 DuraSpace. All rights reserved.