@@ -82,121 +82,122 @@ public static ImmutableGlobalEventFactory getInstance(final JsonSchemaVersion sc
82
82
83
83
@ Override
84
84
public ThingCreated thingCreated (final Thing thing ) {
85
- return ThingCreated .of (thing , -1 , Instant .now (), getDefaultDittoHeaders ());
85
+ return ThingCreated .of (thing , -1 , Instant .now (), getDefaultDittoHeaders (), null );
86
86
}
87
87
88
88
@ Override
89
89
public ThingDeleted thingDeleted (final ThingId thingId ) {
90
- return ThingDeleted .of (thingId , -1 , Instant .now (), getDefaultDittoHeaders ());
90
+ return ThingDeleted .of (thingId , -1 , Instant .now (), getDefaultDittoHeaders (), null );
91
91
}
92
92
93
93
@ Override
94
94
public ThingModified thingModified (final Thing thing ) {
95
- return ThingModified .of (thing , -1 , Instant .now (), getDefaultDittoHeaders ());
95
+ return ThingModified .of (thing , -1 , Instant .now (), getDefaultDittoHeaders (), null );
96
96
}
97
97
98
98
@ Override
99
99
public AttributeCreated attributeCreated (final ThingId thingId , final JsonPointer attributePointer ,
100
100
final JsonValue attributeValue ) {
101
101
return AttributeCreated .of (thingId , attributePointer , attributeValue , -1 , Instant .now (),
102
- getDefaultDittoHeaders ());
102
+ getDefaultDittoHeaders (), null );
103
103
}
104
104
105
105
@ Override
106
106
public AttributeDeleted attributeDeleted (final ThingId thingId , final JsonPointer attributePointer ) {
107
- return AttributeDeleted .of (thingId , attributePointer , -1 , Instant .now (), getDefaultDittoHeaders ());
107
+ return AttributeDeleted .of (thingId , attributePointer , -1 , Instant .now (), getDefaultDittoHeaders (), null );
108
108
}
109
109
110
110
@ Override
111
111
public AttributeModified attributeModified (final ThingId thingId , final JsonPointer attributePointer ,
112
112
final JsonValue attributeValue ) {
113
113
return AttributeModified .of (thingId , attributePointer , attributeValue , -1 , Instant .now (),
114
- getDefaultDittoHeaders ());
114
+ getDefaultDittoHeaders (), null );
115
115
}
116
116
117
117
@ Override
118
118
public AttributesCreated attributesCreated (final ThingId thingId , final Attributes attributes ) {
119
- return AttributesCreated .of (thingId , attributes , -1 , Instant .now (), getDefaultDittoHeaders ());
119
+ return AttributesCreated .of (thingId , attributes , -1 , Instant .now (), getDefaultDittoHeaders (), null );
120
120
}
121
121
122
122
@ Override
123
123
public AttributesDeleted attributesDeleted (final ThingId thingId ) {
124
- return AttributesDeleted .of (thingId , -1 , Instant .now (), getDefaultDittoHeaders ());
124
+ return AttributesDeleted .of (thingId , -1 , Instant .now (), getDefaultDittoHeaders (), null );
125
125
}
126
126
127
127
@ Override
128
128
public AttributesModified attributesModified (final ThingId thingId , final Attributes attributes ) {
129
- return AttributesModified .of (thingId , attributes , -1 , Instant .now (), getDefaultDittoHeaders ());
129
+ return AttributesModified .of (thingId , attributes , -1 , Instant .now (), getDefaultDittoHeaders (), null );
130
130
}
131
131
132
132
@ Override
133
133
public FeatureCreated featureCreated (final ThingId thingId , final Feature feature ) {
134
- return FeatureCreated .of (thingId , feature , -1 , Instant .now (), getDefaultDittoHeaders ());
134
+ return FeatureCreated .of (thingId , feature , -1 , Instant .now (), getDefaultDittoHeaders (), null );
135
135
}
136
136
137
137
@ Override
138
138
public FeatureDeleted featureDeleted (final ThingId thingId , final String featureId ) {
139
- return FeatureDeleted .of (thingId , featureId , -1 , Instant .now (), getDefaultDittoHeaders ());
139
+ return FeatureDeleted .of (thingId , featureId , -1 , Instant .now (), getDefaultDittoHeaders (), null );
140
140
}
141
141
142
142
@ Override
143
143
public FeatureModified featureModified (final ThingId thingId , final Feature feature ) {
144
- return FeatureModified .of (thingId , feature , -1 , Instant .now (), getDefaultDittoHeaders ());
144
+ return FeatureModified .of (thingId , feature , -1 , Instant .now (), getDefaultDittoHeaders (), null );
145
145
}
146
146
147
147
@ Override
148
148
public FeaturesCreated featuresCreated (final ThingId thingId , final Features features ) {
149
- return FeaturesCreated .of (thingId , features , -1 , Instant .now (), getDefaultDittoHeaders ());
149
+ return FeaturesCreated .of (thingId , features , -1 , Instant .now (), getDefaultDittoHeaders (), null );
150
150
}
151
151
152
152
@ Override
153
153
public FeaturesDeleted featuresDeleted (final ThingId thingId ) {
154
- return FeaturesDeleted .of (thingId , -1 , Instant .now (), getDefaultDittoHeaders ());
154
+ return FeaturesDeleted .of (thingId , -1 , Instant .now (), getDefaultDittoHeaders (), null );
155
155
}
156
156
157
157
@ Override
158
158
public FeaturesModified featuresModified (final ThingId thingId , final Features features ) {
159
- return FeaturesModified .of (thingId , features , -1 , Instant .now (), getDefaultDittoHeaders ());
159
+ return FeaturesModified .of (thingId , features , -1 , Instant .now (), getDefaultDittoHeaders (), null );
160
160
}
161
161
162
162
@ Override
163
163
public FeaturePropertiesCreated featurePropertiesCreated (final ThingId thingId , final String featureId ,
164
164
final FeatureProperties properties ) {
165
165
return FeaturePropertiesCreated .of (thingId , featureId , properties , -1 , Instant .now (),
166
- getDefaultDittoHeaders ());
166
+ getDefaultDittoHeaders (), null );
167
167
}
168
168
169
169
@ Override
170
170
public FeaturePropertiesDeleted featurePropertiesDeleted (final ThingId thingId , final String featureId ) {
171
- return FeaturePropertiesDeleted .of (thingId , featureId , -1 , Instant .now (), getDefaultDittoHeaders ());
171
+ return FeaturePropertiesDeleted .of (thingId , featureId , -1 , Instant .now (), getDefaultDittoHeaders (),
172
+ null );
172
173
}
173
174
174
175
@ Override
175
176
public FeaturePropertiesModified featurePropertiesModified (final ThingId thingId , final String featureId ,
176
177
final FeatureProperties properties ) {
177
178
return FeaturePropertiesModified .of (thingId , featureId , properties , -1 , Instant .now (),
178
- getDefaultDittoHeaders ());
179
+ getDefaultDittoHeaders (), null );
179
180
}
180
181
181
182
@ Override
182
183
public FeaturePropertyCreated featurePropertyCreated (final ThingId thingId , final String featureId ,
183
184
final JsonPointer propertyJsonPointer , final JsonValue propertyJsonValue ) {
184
185
return FeaturePropertyCreated .of (thingId , featureId , propertyJsonPointer , propertyJsonValue , -1 ,
185
- Instant .now (), getDefaultDittoHeaders ());
186
+ Instant .now (), getDefaultDittoHeaders (), null );
186
187
}
187
188
188
189
@ Override
189
190
public FeaturePropertyDeleted featurePropertyDeleted (final ThingId thingId , final String featureId ,
190
191
final JsonPointer propertyJsonPointer ) {
191
192
return FeaturePropertyDeleted .of (thingId , featureId , propertyJsonPointer , -1 , Instant .now (),
192
- getDefaultDittoHeaders ());
193
+ getDefaultDittoHeaders (), null );
193
194
}
194
195
195
196
@ Override
196
197
public FeaturePropertyModified featurePropertyModified (final ThingId thingId , final String featureId ,
197
198
final JsonPointer propertyJsonPointer , final JsonValue propertyJsonValue ) {
198
199
return FeaturePropertyModified .of (thingId , featureId , propertyJsonPointer , propertyJsonValue , -1 ,
199
- Instant .now (), getDefaultDittoHeaders ());
200
+ Instant .now (), getDefaultDittoHeaders (), null );
200
201
}
201
202
202
203
@ Override
0 commit comments