Class AbstractEscalation

java.lang.Object
com.appiancorp.suiteapi.process.AbstractEscalation
All Implemented Interfaces:
AppianTypeHolder, Serializable
Direct Known Subclasses:
Escalation, EscalationInstance

public class AbstractEscalation extends Object implements AppianTypeHolder
An escalation of an activity, such as notify my supervisor if I haven't accepted in 2 days. Basically, an escalation is just an event trigger and either an activity class or an event producer that gets activated if the event trigger fires.
See Also:
  • Field Details

    • TYPE_REASSIGN

      public static final int TYPE_REASSIGN
      Escalation that reassigns the task.
      See Also:
    • TYPE_NOTIFY

      public static final int TYPE_NOTIFY
      Escalation that sends a notification.
      See Also:
    • TYPE_PRIORITY

      public static final int TYPE_PRIORITY
      Escalation that changes the task priority.
      See Also:
    • TYPE_EVENT_PRODUCER

      public static final int TYPE_EVENT_PRODUCER
      Escalation that produces an event.
      See Also:
    • AC_REASSIGN_NAME

      public static final String AC_REASSIGN_NAME
      The name of the ActivityClass to do a reassignment.
      See Also:
    • AC_PRIORITY_NAME

      public static final String AC_PRIORITY_NAME
      The name of the ActivityClass to change priority.
      See Also:
    • AC_NOTIFY_NAME

      public static final String AC_NOTIFY_NAME
      The name of the ActivityClass to send a notification.
      See Also:
    • PRIORITY_SET

      public static final int PRIORITY_SET
      See Also:
  • Constructor Details

    • AbstractEscalation

      public AbstractEscalation()
  • Method Details

    • getEventTrigger

      public EventTrigger getEventTrigger()
    • setEventTrigger

      public void setEventTrigger(EventTrigger eventTrigger_)
    • getType

      public Long getType()
      Gets the type of this Escalation, as one of the TYPE_XXX constants: TYPE_NOTIFY, TYPE_PRIORITY, TYPE_REASSIGN.
    • setType

      public void setType(Long type_)
      Sets the type for this Escalation, as one of the TYPE_XXX constants: TYPE_NOTIFY, TYPE_PRIORITY, TYPE_REASSIGN.
      Parameters:
      type_ - the type to set for this process variable
    • fillInAppianTypes

      public void fillInAppianTypes(AppianTypeCache cache_)
      Adds the primary keys of an Appian-typed objects used by this Escalation to the given cache.
      Specified by:
      fillInAppianTypes in interface AppianTypeHolder
      Parameters:
      cache_ - cache of Appian-typed objects.
    • getActivityClass

      public ActivityClass getActivityClass()
      Gets the activity class ActivityClass that will execute when this Schedule fires.
    • setActivityClass

      public void setActivityClass(ActivityClass activityClass_)
      Sets the activity class ActivityClass to be executed when this Schedule fires.
    • getEventProducer

      public EventProducer getEventProducer()
    • setEventProducer

      public void setEventProducer(EventProducer eventProducer_)