{"action":"created","comment":{"url":"https://api.github.com/repos/qivicon/smarthome/pulls/comments/29830387","id":29830387,"diff_hunk":"@@ -0,0 +1,29 @@\n+/**\n+ * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) and others.\n+ * All rights reserved. This program and the accompanying materials\n+ * are made available under the terms of the Eclipse Public License v1.0\n+ * which accompanies this distribution, and is available at\n+ * http://www.eclipse.org/legal/epl-v10.html\n+ */\n+package org.eclipse.smarthome.core.events;\n+\n+/**\n+ * The {@link TopicEventFilter} is a default Eclipse SmartHome {@link EventFilter} implementation that ensures filtering\n+ * of events based on an event topic.\n+ * \n+ * @author Stefan Bußweiler - Initial contribution\n+ */\n+public class TopicEventFilter implements EventFilter {\n+\n+    private final String topicRegex;\n+    \n+    public TopicEventFilter(String topicRegex) {","path":"bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/events/TopicEventFilter.java","position":20,"original_position":20,"commit_id":"cc7f1f9aefb840be07e05b96e90be4630d8236af","original_commit_id":"1bc7b069e60339763f95600523a721d979bd16f0","user":{"login":"dnobel","id":1380535,"avatar_url":"https://avatars.githubusercontent.com/u/1380535?v=3","gravatar_id":"","url":"https://api.github.com/users/dnobel","html_url":"https://github.com/dnobel","followers_url":"https://api.github.com/users/dnobel/followers","following_url":"https://api.github.com/users/dnobel/following{/other_user}","gists_url":"https://api.github.com/users/dnobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dnobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnobel/subscriptions","organizations_url":"https://api.github.com/users/dnobel/orgs","repos_url":"https://api.github.com/users/dnobel/repos","events_url":"https://api.github.com/users/dnobel/events{/privacy}","received_events_url":"https://api.github.com/users/dnobel/received_events","type":"User","site_admin":false},"body":"Javadoc","created_at":"2015-05-07T07:38:42Z","updated_at":"2015-05-07T07:38:42Z","html_url":"https://github.com/qivicon/smarthome/pull/19#discussion_r29830387","pull_request_url":"https://api.github.com/repos/qivicon/smarthome/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/qivicon/smarthome/pulls/comments/29830387"},"html":{"href":"https://github.com/qivicon/smarthome/pull/19#discussion_r29830387"},"pull_request":{"href":"https://api.github.com/repos/qivicon/smarthome/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/qivicon/smarthome/pulls/19","id":34817387,"html_url":"https://github.com/qivicon/smarthome/pull/19","diff_url":"https://github.com/qivicon/smarthome/pull/19.diff","patch_url":"https://github.com/qivicon/smarthome/pull/19.patch","issue_url":"https://api.github.com/repos/qivicon/smarthome/issues/19","number":19,"state":"open","locked":false,"title":"DO NOT MERGE New esh eventing","user":{"login":"dnobel","id":1380535,"avatar_url":"https://avatars.githubusercontent.com/u/1380535?v=3","gravatar_id":"","url":"https://api.github.com/users/dnobel","html_url":"https://github.com/dnobel","followers_url":"https://api.github.com/users/dnobel/followers","following_url":"https://api.github.com/users/dnobel/following{/other_user}","gists_url":"https://api.github.com/users/dnobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dnobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnobel/subscriptions","organizations_url":"https://api.github.com/users/dnobel/orgs","repos_url":"https://api.github.com/users/dnobel/repos","events_url":"https://api.github.com/users/dnobel/events{/privacy}","received_events_url":"https://api.github.com/users/dnobel/received_events","type":"User","site_admin":false},"body":"This is just a review Pull request, please DO NOT MERGE.","created_at":"2015-05-06T13:40:20Z","updated_at":"2015-05-07T07:38:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/qivicon/smarthome/pulls/19/commits","review_comments_url":"https://api.github.com/repos/qivicon/smarthome/pulls/19/comments","review_comment_url":"https://api.github.com/repos/qivicon/smarthome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/qivicon/smarthome/issues/19/comments","statuses_url":"https://api.github.com/repos/qivicon/smarthome/statuses/cc7f1f9aefb840be07e05b96e90be4630d8236af","head":{"label":"qivicon:new-esh-eventing","ref":"new-esh-eventing","sha":"cc7f1f9aefb840be07e05b96e90be4630d8236af","user":{"login":"qivicon","id":3966591,"avatar_url":"https://avatars.githubusercontent.com/u/3966591?v=3","gravatar_id":"","url":"https://api.github.com/users/qivicon","html_url":"https://github.com/qivicon","followers_url":"https://api.github.com/users/qivicon/followers","following_url":"https://api.github.com/users/qivicon/following{/other_user}","gists_url":"https://api.github.com/users/qivicon/gists{/gist_id}","starred_url":"https://api.github.com/users/qivicon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qivicon/subscriptions","organizations_url":"https://api.github.com/users/qivicon/orgs","repos_url":"https://api.github.com/users/qivicon/repos","events_url":"https://api.github.com/users/qivicon/events{/privacy}","received_events_url":"https://api.github.com/users/qivicon/received_events","type":"Organization","site_admin":false},"repo":{"id":17598413,"name":"smarthome","full_name":"qivicon/smarthome","owner":{"login":"qivicon","id":3966591,"avatar_url":"https://avatars.githubusercontent.com/u/3966591?v=3","gravatar_id":"","url":"https://api.github.com/users/qivicon","html_url":"https://github.com/qivicon","followers_url":"https://api.github.com/users/qivicon/followers","following_url":"https://api.github.com/users/qivicon/following{/other_user}","gists_url":"https://api.github.com/users/qivicon/gists{/gist_id}","starred_url":"https://api.github.com/users/qivicon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qivicon/subscriptions","organizations_url":"https://api.github.com/users/qivicon/orgs","repos_url":"https://api.github.com/users/qivicon/repos","events_url":"https://api.github.com/users/qivicon/events{/privacy}","received_events_url":"https://api.github.com/users/qivicon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qivicon/smarthome","description":"Eclipse SmartHome project","fork":true,"url":"https://api.github.com/repos/qivicon/smarthome","forks_url":"https://api.github.com/repos/qivicon/smarthome/forks","keys_url":"https://api.github.com/repos/qivicon/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qivicon/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qivicon/smarthome/teams","hooks_url":"https://api.github.com/repos/qivicon/smarthome/hooks","issue_events_url":"https://api.github.com/repos/qivicon/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/qivicon/smarthome/events","assignees_url":"https://api.github.com/repos/qivicon/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/qivicon/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/qivicon/smarthome/tags","blobs_url":"https://api.github.com/repos/qivicon/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qivicon/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qivicon/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/qivicon/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qivicon/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/qivicon/smarthome/languages","stargazers_url":"https://api.github.com/repos/qivicon/smarthome/stargazers","contributors_url":"https://api.github.com/repos/qivicon/smarthome/contributors","subscribers_url":"https://api.github.com/repos/qivicon/smarthome/subscribers","subscription_url":"https://api.github.com/repos/qivicon/smarthome/subscription","commits_url":"https://api.github.com/repos/qivicon/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/qivicon/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/qivicon/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/qivicon/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/qivicon/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/qivicon/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qivicon/smarthome/merges","archive_url":"https://api.github.com/repos/qivicon/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qivicon/smarthome/downloads","issues_url":"https://api.github.com/repos/qivicon/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/qivicon/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/qivicon/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/qivicon/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qivicon/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/qivicon/smarthome/releases{/id}","created_at":"2014-03-10T15:53:08Z","updated_at":"2015-04-20T16:11:57Z","pushed_at":"2015-05-07T07:36:29Z","git_url":"git://github.com/qivicon/smarthome.git","ssh_url":"git@github.com:qivicon/smarthome.git","clone_url":"https://github.com/qivicon/smarthome.git","svn_url":"https://github.com/qivicon/smarthome","homepage":null,"size":28142,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"qivicon:integration-90","ref":"integration-90","sha":"070ad089eb3be8680b5d4d35104b3e0761f5c957","user":{"login":"qivicon","id":3966591,"avatar_url":"https://avatars.githubusercontent.com/u/3966591?v=3","gravatar_id":"","url":"https://api.github.com/users/qivicon","html_url":"https://github.com/qivicon","followers_url":"https://api.github.com/users/qivicon/followers","following_url":"https://api.github.com/users/qivicon/following{/other_user}","gists_url":"https://api.github.com/users/qivicon/gists{/gist_id}","starred_url":"https://api.github.com/users/qivicon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qivicon/subscriptions","organizations_url":"https://api.github.com/users/qivicon/orgs","repos_url":"https://api.github.com/users/qivicon/repos","events_url":"https://api.github.com/users/qivicon/events{/privacy}","received_events_url":"https://api.github.com/users/qivicon/received_events","type":"Organization","site_admin":false},"repo":{"id":17598413,"name":"smarthome","full_name":"qivicon/smarthome","owner":{"login":"qivicon","id":3966591,"avatar_url":"https://avatars.githubusercontent.com/u/3966591?v=3","gravatar_id":"","url":"https://api.github.com/users/qivicon","html_url":"https://github.com/qivicon","followers_url":"https://api.github.com/users/qivicon/followers","following_url":"https://api.github.com/users/qivicon/following{/other_user}","gists_url":"https://api.github.com/users/qivicon/gists{/gist_id}","starred_url":"https://api.github.com/users/qivicon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qivicon/subscriptions","organizations_url":"https://api.github.com/users/qivicon/orgs","repos_url":"https://api.github.com/users/qivicon/repos","events_url":"https://api.github.com/users/qivicon/events{/privacy}","received_events_url":"https://api.github.com/users/qivicon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/qivicon/smarthome","description":"Eclipse SmartHome project","fork":true,"url":"https://api.github.com/repos/qivicon/smarthome","forks_url":"https://api.github.com/repos/qivicon/smarthome/forks","keys_url":"https://api.github.com/repos/qivicon/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qivicon/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qivicon/smarthome/teams","hooks_url":"https://api.github.com/repos/qivicon/smarthome/hooks","issue_events_url":"https://api.github.com/repos/qivicon/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/qivicon/smarthome/events","assignees_url":"https://api.github.com/repos/qivicon/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/qivicon/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/qivicon/smarthome/tags","blobs_url":"https://api.github.com/repos/qivicon/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qivicon/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qivicon/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/qivicon/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qivicon/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/qivicon/smarthome/languages","stargazers_url":"https://api.github.com/repos/qivicon/smarthome/stargazers","contributors_url":"https://api.github.com/repos/qivicon/smarthome/contributors","subscribers_url":"https://api.github.com/repos/qivicon/smarthome/subscribers","subscription_url":"https://api.github.com/repos/qivicon/smarthome/subscription","commits_url":"https://api.github.com/repos/qivicon/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/qivicon/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/qivicon/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/qivicon/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/qivicon/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/qivicon/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qivicon/smarthome/merges","archive_url":"https://api.github.com/repos/qivicon/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qivicon/smarthome/downloads","issues_url":"https://api.github.com/repos/qivicon/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/qivicon/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/qivicon/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/qivicon/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qivicon/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/qivicon/smarthome/releases{/id}","created_at":"2014-03-10T15:53:08Z","updated_at":"2015-04-20T16:11:57Z","pushed_at":"2015-05-07T07:36:29Z","git_url":"git://github.com/qivicon/smarthome.git","ssh_url":"git@github.com:qivicon/smarthome.git","clone_url":"https://github.com/qivicon/smarthome.git","svn_url":"https://github.com/qivicon/smarthome","homepage":null,"size":28142,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/qivicon/smarthome/pulls/19"},"html":{"href":"https://github.com/qivicon/smarthome/pull/19"},"issue":{"href":"https://api.github.com/repos/qivicon/smarthome/issues/19"},"comments":{"href":"https://api.github.com/repos/qivicon/smarthome/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/qivicon/smarthome/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/qivicon/smarthome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/qivicon/smarthome/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/qivicon/smarthome/statuses/cc7f1f9aefb840be07e05b96e90be4630d8236af"}}}}