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 curatorTrigger
and theActionSet
to 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>
actions
Set of actions for theTrigger
private java.lang.Boolean
enabled
Indicates whether this TriggerActions is enabled (i.e.private java.lang.String
Id
Id for the TriggerAction (a unique ID to refer to the specific item by)private java.lang.String
label
Label for the TriggerAction (a way to label the TriggerAction).private java.lang.String
name
Name for the TriggerAction (a nice name to present to the user)private Trigger
trigger
-
Constructor Summary
Constructors Constructor Description TriggerActions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
void
configure(Configurer configurer)
Configure this object and Triggers/Actions belowboolean
equals(java.lang.Object o)
java.util.List<Action>
getActions()
Set of actions for theTrigger
ActionSet
getActionSet()
Get the set of actions for this trigger.java.lang.Boolean
getEnabled()
Indicates whether this TriggerActions is enabled (i.e.java.lang.String
getId()
Id for the TriggerAction (a unique ID to refer to the specific item by)java.lang.String
getLabel()
Label for the TriggerAction (a way to label the TriggerAction).java.lang.String
getName()
Name for the TriggerAction (a nice name to present to the user)Trigger
getTrigger()
int
hashCode()
void
setActions(java.util.List<Action> actions)
Set of actions for theTrigger
void
setEnabled(java.lang.Boolean enabled)
Indicates whether this TriggerActions is enabled (i.e.void
setId(java.lang.String Id)
Id for the TriggerAction (a unique ID to refer to the specific item by)void
setLabel(java.lang.String label)
Label for the TriggerAction (a way to label the TriggerAction).void
setName(java.lang.String name)
Name for the TriggerAction (a nice name to present to the user)void
setTrigger(Trigger trigger)
java.lang.String
toString()
-
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 emptyActionSet
is 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:
toString
in classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqual
in classcom.funnelback.api.core.models.AbstractIdentifiableDated
-
hashCode
public int hashCode()
- Overrides:
hashCode
in 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:
getId
in interfacecom.funnelback.api.core.models.Identifiable
- Overrides:
getId
in 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:
setId
in interfacecom.funnelback.api.core.models.Identifiable
- Overrides:
setId
in 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)
-
-