Class ActionSet
- java.lang.Object
-
- com.funnelback.publicui.search.model.curator.config.ActionSet
-
public class ActionSet extends java.lang.ObjectActionSet defines a group of actions (which may share a single trigger) and provides convenience methods across the group.
-
-
Constructor Summary
Constructors Constructor Description ActionSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)voidconfigure(Configurer configurer)Perform any configuration required (e.g.booleanequals(java.lang.Object o)java.util.List<Action>getActions()The actual actions contained within the setbooleanhasActionForPhase(Action.Phase phase)inthashCode()voidperformActions(SearchTransaction searchTransaction, Action.Phase phase)Perform any actions within the set should be run in the given phase.voidsetActions(java.util.List<Action> actions)The actual actions contained within the setjava.lang.StringtoString()
-
-
-
Field Detail
-
actions
private java.util.List<Action> actions
The actual actions contained within the set
-
-
Method Detail
-
performActions
public void performActions(SearchTransaction searchTransaction, Action.Phase phase)
Perform any actions within the set should be run in the given phase.- Parameters:
searchTransaction- Current search transactionphase- current query lifecycle phase where the action is run
-
hasActionForPhase
public boolean hasActionForPhase(Action.Phase phase)
- Parameters:
phase- current query lifecycle phase where the action is run- Returns:
- true if any of the actions in this set should be run within the specified phase.
-
configure
public void configure(Configurer configurer)
Perform any configuration required (e.g. autowiring beans needed by each Action).
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getActions
public java.util.List<Action> getActions()
The actual actions contained within the set
-
setActions
public void setActions(java.util.List<Action> actions)
The actual actions contained within the set
-
-