Class ActionSet
- java.lang.Object
-
- com.funnelback.publicui.search.model.curator.config.ActionSet
-
public class ActionSet extends java.lang.Object
ActionSet 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 boolean
canEqual(java.lang.Object other)
void
configure(Configurer configurer)
Perform any configuration required (e.g.boolean
equals(java.lang.Object o)
java.util.List<Action>
getActions()
The actual actions contained within the setboolean
hasActionForPhase(Action.Phase phase)
int
hashCode()
void
performActions(SearchTransaction searchTransaction, Action.Phase phase)
Perform any actions within the set should be run in the given phase.void
setActions(java.util.List<Action> actions)
The actual actions contained within the setjava.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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
-
-