Package com.appiancorp.suiteapi.process
Class AbstractEscalation
java.lang.Object
com.appiancorp.suiteapi.process.AbstractEscalation
- All Implemented Interfaces:
AppianTypeHolder,Serializable
- Direct Known Subclasses:
Escalation,EscalationInstance
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the ActivityClass to send a notification.static final StringThe name of the ActivityClass to change priority.static final StringThe name of the ActivityClass to do a reassignment.static final intstatic final intEscalation that produces an event.static final intEscalation that sends a notification.static final intEscalation that changes the task priority.static final intEscalation that reassigns the task. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfillInAppianTypes(AppianTypeCache cache_) Adds the primary keys of an Appian-typed objects used by thisEscalationto the given cache.Gets the activity classActivityClassthat will execute when thisSchedulefires.getType()Gets the type of thisEscalation, as one of the TYPE_XXX constants:TYPE_NOTIFY,TYPE_PRIORITY,TYPE_REASSIGN.voidsetActivityClass(ActivityClass activityClass_) Sets the activity classActivityClassto be executed when thisSchedulefires.voidsetEventProducer(EventProducer eventProducer_) voidsetEventTrigger(EventTrigger eventTrigger_) voidSets the type for thisEscalation, as one of the TYPE_XXX constants:TYPE_NOTIFY,TYPE_PRIORITY,TYPE_REASSIGN.
-
Field Details
-
TYPE_REASSIGN
public static final int TYPE_REASSIGNEscalation that reassigns the task.- See Also:
-
TYPE_NOTIFY
public static final int TYPE_NOTIFYEscalation that sends a notification.- See Also:
-
TYPE_PRIORITY
public static final int TYPE_PRIORITYEscalation that changes the task priority.- See Also:
-
TYPE_EVENT_PRODUCER
public static final int TYPE_EVENT_PRODUCEREscalation that produces an event.- See Also:
-
AC_REASSIGN_NAME
The name of the ActivityClass to do a reassignment.- See Also:
-
AC_PRIORITY_NAME
The name of the ActivityClass to change priority.- See Also:
-
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
-
setEventTrigger
-
getType
Gets the type of thisEscalation, as one of the TYPE_XXX constants:TYPE_NOTIFY,TYPE_PRIORITY,TYPE_REASSIGN. -
setType
Sets the type for thisEscalation, as one of the TYPE_XXX constants:TYPE_NOTIFY,TYPE_PRIORITY,TYPE_REASSIGN.- Parameters:
type_- the type to set for this process variable
-
fillInAppianTypes
Adds the primary keys of an Appian-typed objects used by thisEscalationto the given cache.- Specified by:
fillInAppianTypesin interfaceAppianTypeHolder- Parameters:
cache_- cache of Appian-typed objects.
-
getActivityClass
Gets the activity classActivityClassthat will execute when thisSchedulefires. -
setActivityClass
Sets the activity classActivityClassto be executed when thisSchedulefires. -
getEventProducer
-
setEventProducer
-