Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Taggable {}
- class Asset extends Taggable {}
- class TagDataReceivedEvent {
- private final Taggable taggable;
- public Taggable getTaggable() { return taggable; }
- }
- rule "f"
- when
- $e: TagDataReceivedEvent(newLocation != oldLocation)
- $a: Asset() from $e.taggable
- then
- System.err.println("ASF" + $a);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement