Class TriggerActions
- java.lang.Object
-
- com.funnelback.api.core.models.AbstractDated
-
- com.funnelback.api.core.models.AbstractIdentifiableDated
-
- com.funnelback.publicui.search.model.curator.config.TriggerActions
-
- All Implemented Interfaces:
com.funnelback.api.core.models.Dated,com.funnelback.api.core.models.Identifiable,com.funnelback.api.core.models.IdentifiableAndDated,HasNoBeans
public final class TriggerActions extends com.funnelback.api.core.models.AbstractIdentifiableDated implements HasNoBeans
An association between a curatorTriggerand theActionSetto perform for this trigger. This is known as a RuleSet in the Admin UI interface.- Since:
- 13.4
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<Action>actionsSet of actions for theTriggerprivate java.lang.BooleanenabledIndicates whether this TriggerActions is enabled (i.e.private java.lang.StringIdId for the TriggerAction (a unique ID to refer to the specific item by)private java.lang.StringlabelLabel for the TriggerAction (a way to label the TriggerAction).private java.lang.StringnameName for the TriggerAction (a nice name to present to the user)private Triggertrigger
-
Constructor Summary
Constructors Constructor Description TriggerActions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)voidconfigure(Configurer configurer)Configure this object and Triggers/Actions belowbooleanequals(java.lang.Object o)java.util.List<Action>getActions()Set of actions for theTriggerActionSetgetActionSet()Get the set of actions for this trigger.java.lang.BooleangetEnabled()Indicates whether this TriggerActions is enabled (i.e.java.lang.StringgetId()Id for the TriggerAction (a unique ID to refer to the specific item by)java.lang.StringgetLabel()Label for the TriggerAction (a way to label the TriggerAction).java.lang.StringgetName()Name for the TriggerAction (a nice name to present to the user)TriggergetTrigger()inthashCode()voidsetActions(java.util.List<Action> actions)Set of actions for theTriggervoidsetEnabled(java.lang.Boolean enabled)Indicates whether this TriggerActions is enabled (i.e.voidsetId(java.lang.String Id)Id for the TriggerAction (a unique ID to refer to the specific item by)voidsetLabel(java.lang.String label)Label for the TriggerAction (a way to label the TriggerAction).voidsetName(java.lang.String name)Name for the TriggerAction (a nice name to present to the user)voidsetTrigger(Trigger trigger)java.lang.StringtoString()-
Methods inherited from class com.funnelback.api.core.models.AbstractDated
getCreated, getLastModified, marshal, setCreated, setLastModified, unMarshal
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
name
private java.lang.String name
Name for the TriggerAction (a nice name to present to the user)
-
Id
private java.lang.String Id
Id for the TriggerAction (a unique ID to refer to the specific item by)
-
label
private java.lang.String label
Label for the TriggerAction (a way to label the TriggerAction).
-
enabled
private java.lang.Boolean enabled
Indicates whether this TriggerActions is enabled (i.e. should be considered for new requests).
-
trigger
private Trigger trigger
-
-
Method Detail
-
getActionSet
public ActionSet getActionSet()
Get the set of actions for this trigger. If null, an emptyActionSetis returned instead.- Returns:
- The actions for this trigger (never null)
-
getTrigger
public Trigger getTrigger()
-
configure
public void configure(Configurer configurer)
Configure this object and Triggers/Actions below
-
toString
public java.lang.String toString()
- Overrides:
toStringin classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
getName
public java.lang.String getName()
Name for the TriggerAction (a nice name to present to the user)
-
setName
public void setName(java.lang.String name)
Name for the TriggerAction (a nice name to present to the user)
-
getId
public java.lang.String getId()
Id for the TriggerAction (a unique ID to refer to the specific item by)- Specified by:
getIdin interfacecom.funnelback.api.core.models.Identifiable- Overrides:
getIdin classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
setId
public void setId(java.lang.String Id)
Id for the TriggerAction (a unique ID to refer to the specific item by)- Specified by:
setIdin interfacecom.funnelback.api.core.models.Identifiable- Overrides:
setIdin classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
getLabel
public java.lang.String getLabel()
Label for the TriggerAction (a way to label the TriggerAction).
-
setLabel
public void setLabel(java.lang.String label)
Label for the TriggerAction (a way to label the TriggerAction).
-
getEnabled
public java.lang.Boolean getEnabled()
Indicates whether this TriggerActions is enabled (i.e. should be considered for new requests).
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
Indicates whether this TriggerActions is enabled (i.e. should be considered for new requests).
-
setTrigger
public void setTrigger(Trigger trigger)
-
-