org.dspace.app.itemupdate
Class ActionManager
java.lang.Object
org.dspace.app.itemupdate.ActionManager
- All Implemented Interfaces:
- Iterable<UpdateAction>
public class ActionManager
- extends Object
- implements Iterable<UpdateAction>
Container for UpdateActions
Order of actions is very import for correct processing. This implementation
supports an iterator that returns the actions in the order in which they are
put in. Adding the same action a second time has no effect on this order.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionManager
public ActionManager()
getUpdateAction
public UpdateAction getUpdateAction(Class<? extends UpdateAction> actionClass)
throws InstantiationException,
IllegalAccessException
- Throws:
InstantiationException
IllegalAccessException
hasActions
public boolean hasActions()
- Returns:
- whether any actions have been registered with this manager
iterator
public Iterator<UpdateAction> iterator()
- This implementation guarantees the iterator order is the same as the order
in which updateActions have been added
- Specified by:
iterator in interface Iterable<UpdateAction>
- Returns:
- iterator for UpdateActions
Copyright © 2012 DuraSpace. All Rights Reserved.