org.smartcomps.twister.engine.priv.core.definition
Interface AlarmEvent

All Known Implementing Classes:
AlarmEventImpl

public interface AlarmEvent

An alarm event is declared on a Pick activity to define a deadline on the waiting of the Pick. When a deadline defined by an alarm event is reached the corresponding activity is started.
An alarm event is defined by a an expression that can either define a duration or a deadline, a duration is defined from the starting time of the Pick container.

See Also:
Pick

Field Summary
static int DEADLINE_EXPR
           
static int DURATION_EXPR
           
 
Method Summary
 java.lang.String getTimeExpression()
           
 int getType()
           
 void setTimeExpression(java.lang.String timeExpression, int type)
           
 

Field Detail

DURATION_EXPR

public static final int DURATION_EXPR
See Also:
Constant Field Values

DEADLINE_EXPR

public static final int DEADLINE_EXPR
See Also:
Constant Field Values
Method Detail

getTimeExpression

public java.lang.String getTimeExpression()

getType

public int getType()

setTimeExpression

public void setTimeExpression(java.lang.String timeExpression,
                              int type)


Copyright © 2003 SmartComps. All Rights Reserved.