Previous Topic

Next Topic

Book Contents

Book Index

Absolute Timer (Deprecated)

The Absolute Timer Condition is triggered only once at a specific time.

Managing Absolute Timer Conditions

Via Java API

After creating a condition as described in Managing Conditions you can configure it by using the following methods:

After you configure your condition, call the save method. The Condition Provider will save the condition in Config Tree

Via ConfigTree

All conditions are stored in the Config Tree, which allows you to import/export them and to add/edit them by simply creating and modifying XML files.

The following example contains an absolute timer with descriptive name "My Abs. Timer" set to Sat Apr 21 2012 02:00:00 GMT+0300 (specified as 1334962800000 value to the startTime property).

<config name="Abs. Timer">

<property key="id_gen" value="1" type="long"/>

<config name="5">

  <property key="name" value="My Abs. Timer" type="string"/>

  <property key="startTime" value="1334962800000" type="long"/>

</config>

</config>