Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. class Taggable {}
  2. class Asset extends Taggable {}
  3. class TagDataReceivedEvent {
  4. private final Taggable taggable;
  5. public Taggable getTaggable() { return taggable; }
  6. }
  7.  
  8. rule "f"
  9. when
  10. $e: TagDataReceivedEvent(newLocation != oldLocation)
  11. $a: Asset() from $e.taggable
  12. then
  13. System.err.println("ASF" + $a);
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement