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
Modifier and TypeFieldDescriptionstatic final String
The name of the ActivityClass to send a notification.static final String
The name of the ActivityClass to change priority.static final String
The name of the ActivityClass to do a reassignment.static final int
static final int
Escalation that produces an event.static final int
Escalation that sends a notification.static final int
Escalation that changes the task priority.static final int
Escalation that reassigns the task. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fillInAppianTypes
(AppianTypeCache cache_) Adds the primary keys of an Appian-typed objects used by thisEscalation
to the given cache.Gets the activity classActivityClass
that will execute when thisSchedule
fires.getType()
Gets the type of thisEscalation
, as one of the TYPE_XXX constants:TYPE_NOTIFY
,TYPE_PRIORITY
,TYPE_REASSIGN
.void
setActivityClass
(ActivityClass activityClass_) Sets the activity classActivityClass
to be executed when thisSchedule
fires.void
setEventProducer
(EventProducer eventProducer_) void
setEventTrigger
(EventTrigger eventTrigger_) void
Sets 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 thisEscalation
to the given cache.- Specified by:
fillInAppianTypes
in interfaceAppianTypeHolder
- Parameters:
cache_
- cache of Appian-typed objects.
-
getActivityClass
Gets the activity classActivityClass
that will execute when thisSchedule
fires. -
setActivityClass
Sets the activity classActivityClass
to be executed when thisSchedule
fires. -
getEventProducer
-
setEventProducer
-