1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!-- ***************************************************************************
3 * Copyright (c) 2015 Ericsson
5 * All rights reserved. This program and the accompanying materials are
6 * made available under the terms of the Eclipse Public License v1.0 which
7 * accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
11 * Jean-Christian Kouame - Initial API and implementation
12 *************************************************************************** -->
13 <tmfxml xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
14 xsi:
noNamespaceSchemaLocation=
"xmlDefinition.xsd">
16 <!-- ***************************************************************************
17 * The following represents the state of the attributes in the system after the
20 * n corresponds to a null state value
22 * Timestamp | 1 | 3 | 5 | 7 |
23 * -events and field value-
30 * or_three_operands | 1 0 1
33 *************************************************************************** -->
35 <stateProvider id=
"test.xml.conditions" version=
"1">
36 <eventHandler eventName=
"test">
40 <field name=
"testField" />
41 <stateValue type=
"long" value=
"10" />
45 <stateAttribute type=
"eventName" />
46 <stateValue type=
"long" value=
"1" />
49 <stateAttribute type=
"eventName" />
50 <stateValue type=
"long" value=
"0" />
54 <eventHandler eventName=
"test1">
58 <field name=
"testField" />
59 <stateValue type=
"long" value=
"200" />
63 <stateAttribute type=
"eventName" />
64 <stateValue type=
"long" value=
"1" />
67 <stateAttribute type=
"eventName" />
68 <stateValue type=
"long" value=
"0" />
72 <eventHandler eventName=
"*">
76 <stateValue type=
"query">
77 <stateAttribute type=
"constant" value=
"test" />
79 <stateValue type=
"query">
80 <stateAttribute type=
"constant" value=
"test1" />
85 <stateAttribute type=
"constant" value=
"checkpoint" />
86 <stateValue type=
"long" value=
"1" />
89 <stateAttribute type=
"constant" value=
"checkpoint" />
90 <stateValue type=
"long" value=
"0" />
94 <eventHandler eventName=
"*">
99 <stateAttribute type=
"constant" value=
"test" />
100 <stateValue type=
"long" value=
"0" />
103 <stateAttribute type=
"constant" value=
"test1" />
104 <stateValue type=
"long" value=
"0" />
107 <stateAttribute type=
"constant" value=
"checkpoint" />
108 <stateValue type=
"long" value=
"1" />
113 <stateAttribute type=
"constant" value=
"and_three_operands" />
114 <stateValue type=
"long" value=
"0" />
117 <stateAttribute type=
"constant" value=
"and_three_operands" />
118 <stateValue type=
"long" value=
"1" />
122 <eventHandler eventName=
"*">
127 <stateAttribute type=
"constant" value=
"and_three_operands" />
128 <stateValue type=
"long" value=
"1" />
133 <stateAttribute type=
"constant" value=
"not_operand" />
134 <stateValue type=
"long" value=
"1" />
137 <stateAttribute type=
"constant" value=
"not_operand" />
138 <stateValue type=
"long" value=
"0" />
This page took 0.035604 seconds and 5 git commands to generate.