1 package org.smartcomps.twister.engine.priv.core.definition;
2
3 /***
4 * An alarm event is declared on a Pick activity to define a deadline on
5 * the waiting of the Pick. When a deadline defined by an alarm event is
6 * reached the corresponding activity is started.<br>
7 * An alarm event is defined by a an expression that can either define
8 * a duration or a deadline, a duration is defined from the starting time
9 * of the Pick container.
10 * @see org.smartcomps.twister.engine.priv.core.definition.Pick
11 */
12 public interface AlarmEvent {
13
14 public static final int DURATION_EXPR = 1;
15 public static final int DEADLINE_EXPR = 2;
16
17 public String getTimeExpression();
18
19 public int getType();
20
21 public void setTimeExpression(String timeExpression, int type);
22 }
This page was automatically generated by Maven