{"action":"created","comment":{"url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/comments/50945599","id":50945599,"diff_hunk":"@@ -0,0 +1,40 @@\n+package edu.wpi.grip.core.util.service;\n+\n+import com.google.common.util.concurrent.Service;\n+\n+import static com.google.common.base.Preconditions.checkNotNull;\n+\n+/**\n+ * Will run the same runnable regardless of what listener callback is being called.\n+ */\n+public class SingleActionListener extends Service.Listener {","path":"core/src/main/java/edu/wpi/grip/core/util/service/SingleActionListener.java","position":10,"original_position":10,"commit_id":"8c7895b43485cfb82d95517034d5ed60d1b3ffe8","original_commit_id":"8c7895b43485cfb82d95517034d5ed60d1b3ffe8","user":{"login":"ThomasJClark","id":3964980,"avatar_url":"https://avatars.githubusercontent.com/u/3964980?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasJClark","html_url":"https://github.com/ThomasJClark","followers_url":"https://api.github.com/users/ThomasJClark/followers","following_url":"https://api.github.com/users/ThomasJClark/following{/other_user}","gists_url":"https://api.github.com/users/ThomasJClark/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasJClark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasJClark/subscriptions","organizations_url":"https://api.github.com/users/ThomasJClark/orgs","repos_url":"https://api.github.com/users/ThomasJClark/repos","events_url":"https://api.github.com/users/ThomasJClark/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasJClark/received_events","type":"User","site_admin":false},"body":"Do you even use this?  Like, more than once.","created_at":"2016-01-27T06:23:03Z","updated_at":"2016-01-27T06:23:03Z","html_url":"https://github.com/WPIRoboticsProjects/GRIP/pull/392#discussion_r50945599","pull_request_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/392","_links":{"self":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/comments/50945599"},"html":{"href":"https://github.com/WPIRoboticsProjects/GRIP/pull/392#discussion_r50945599"},"pull_request":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/392"}}},"pull_request":{"url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/392","id":56655704,"html_url":"https://github.com/WPIRoboticsProjects/GRIP/pull/392","diff_url":"https://github.com/WPIRoboticsProjects/GRIP/pull/392.diff","patch_url":"https://github.com/WPIRoboticsProjects/GRIP/pull/392.patch","issue_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/issues/392","number":392,"state":"open","locked":false,"title":"Pipeline run in own thread","user":{"login":"JLLeitschuh","id":1323708,"avatar_url":"https://avatars.githubusercontent.com/u/1323708?v=3","gravatar_id":"","url":"https://api.github.com/users/JLLeitschuh","html_url":"https://github.com/JLLeitschuh","followers_url":"https://api.github.com/users/JLLeitschuh/followers","following_url":"https://api.github.com/users/JLLeitschuh/following{/other_user}","gists_url":"https://api.github.com/users/JLLeitschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/JLLeitschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLLeitschuh/subscriptions","organizations_url":"https://api.github.com/users/JLLeitschuh/orgs","repos_url":"https://api.github.com/users/JLLeitschuh/repos","events_url":"https://api.github.com/users/JLLeitschuh/events{/privacy}","received_events_url":"https://api.github.com/users/JLLeitschuh/received_events","type":"User","site_admin":false},"body":"Refactors the pipeline to run in its own thread.\r\nThis also means that steps will always run sequentially.\r\nSources will have their sockets updated by the pipeline instead\r\nof doing so manually.\r\n\r\nCloses #190\r\n\r\n# Todo\r\n- [x] Make it possible to stop/start the pipeline from within the UI.\r\n- [ ] Make it possible to dynamically set the the running rate of the pipeline.\r\n","created_at":"2016-01-20T19:33:43Z","updated_at":"2016-01-27T06:23:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3bb76a08cac1c690d0348459bc7f8f42bb31006","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/392/commits","review_comments_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/392/comments","review_comment_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/issues/392/comments","statuses_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/statuses/8c7895b43485cfb82d95517034d5ed60d1b3ffe8","head":{"label":"JLLeitschuh:feat/pipelineInOneThread","ref":"feat/pipelineInOneThread","sha":"8c7895b43485cfb82d95517034d5ed60d1b3ffe8","user":{"login":"JLLeitschuh","id":1323708,"avatar_url":"https://avatars.githubusercontent.com/u/1323708?v=3","gravatar_id":"","url":"https://api.github.com/users/JLLeitschuh","html_url":"https://github.com/JLLeitschuh","followers_url":"https://api.github.com/users/JLLeitschuh/followers","following_url":"https://api.github.com/users/JLLeitschuh/following{/other_user}","gists_url":"https://api.github.com/users/JLLeitschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/JLLeitschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLLeitschuh/subscriptions","organizations_url":"https://api.github.com/users/JLLeitschuh/orgs","repos_url":"https://api.github.com/users/JLLeitschuh/repos","events_url":"https://api.github.com/users/JLLeitschuh/events{/privacy}","received_events_url":"https://api.github.com/users/JLLeitschuh/received_events","type":"User","site_admin":false},"repo":{"id":41511491,"name":"GRIP","full_name":"JLLeitschuh/GRIP","owner":{"login":"JLLeitschuh","id":1323708,"avatar_url":"https://avatars.githubusercontent.com/u/1323708?v=3","gravatar_id":"","url":"https://api.github.com/users/JLLeitschuh","html_url":"https://github.com/JLLeitschuh","followers_url":"https://api.github.com/users/JLLeitschuh/followers","following_url":"https://api.github.com/users/JLLeitschuh/following{/other_user}","gists_url":"https://api.github.com/users/JLLeitschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/JLLeitschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLLeitschuh/subscriptions","organizations_url":"https://api.github.com/users/JLLeitschuh/orgs","repos_url":"https://api.github.com/users/JLLeitschuh/repos","events_url":"https://api.github.com/users/JLLeitschuh/events{/privacy}","received_events_url":"https://api.github.com/users/JLLeitschuh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JLLeitschuh/GRIP","description":"Program for rapidly developing computer vision applications","fork":true,"url":"https://api.github.com/repos/JLLeitschuh/GRIP","forks_url":"https://api.github.com/repos/JLLeitschuh/GRIP/forks","keys_url":"https://api.github.com/repos/JLLeitschuh/GRIP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JLLeitschuh/GRIP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JLLeitschuh/GRIP/teams","hooks_url":"https://api.github.com/repos/JLLeitschuh/GRIP/hooks","issue_events_url":"https://api.github.com/repos/JLLeitschuh/GRIP/issues/events{/number}","events_url":"https://api.github.com/repos/JLLeitschuh/GRIP/events","assignees_url":"https://api.github.com/repos/JLLeitschuh/GRIP/assignees{/user}","branches_url":"https://api.github.com/repos/JLLeitschuh/GRIP/branches{/branch}","tags_url":"https://api.github.com/repos/JLLeitschuh/GRIP/tags","blobs_url":"https://api.github.com/repos/JLLeitschuh/GRIP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JLLeitschuh/GRIP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JLLeitschuh/GRIP/git/refs{/sha}","trees_url":"https://api.github.com/repos/JLLeitschuh/GRIP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JLLeitschuh/GRIP/statuses/{sha}","languages_url":"https://api.github.com/repos/JLLeitschuh/GRIP/languages","stargazers_url":"https://api.github.com/repos/JLLeitschuh/GRIP/stargazers","contributors_url":"https://api.github.com/repos/JLLeitschuh/GRIP/contributors","subscribers_url":"https://api.github.com/repos/JLLeitschuh/GRIP/subscribers","subscription_url":"https://api.github.com/repos/JLLeitschuh/GRIP/subscription","commits_url":"https://api.github.com/repos/JLLeitschuh/GRIP/commits{/sha}","git_commits_url":"https://api.github.com/repos/JLLeitschuh/GRIP/git/commits{/sha}","comments_url":"https://api.github.com/repos/JLLeitschuh/GRIP/comments{/number}","issue_comment_url":"https://api.github.com/repos/JLLeitschuh/GRIP/issues/comments{/number}","contents_url":"https://api.github.com/repos/JLLeitschuh/GRIP/contents/{+path}","compare_url":"https://api.github.com/repos/JLLeitschuh/GRIP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JLLeitschuh/GRIP/merges","archive_url":"https://api.github.com/repos/JLLeitschuh/GRIP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JLLeitschuh/GRIP/downloads","issues_url":"https://api.github.com/repos/JLLeitschuh/GRIP/issues{/number}","pulls_url":"https://api.github.com/repos/JLLeitschuh/GRIP/pulls{/number}","milestones_url":"https://api.github.com/repos/JLLeitschuh/GRIP/milestones{/number}","notifications_url":"https://api.github.com/repos/JLLeitschuh/GRIP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JLLeitschuh/GRIP/labels{/name}","releases_url":"https://api.github.com/repos/JLLeitschuh/GRIP/releases{/id}","deployments_url":"https://api.github.com/repos/JLLeitschuh/GRIP/deployments","created_at":"2015-08-27T21:09:02Z","updated_at":"2016-01-24T17:43:05Z","pushed_at":"2016-01-27T04:22:09Z","git_url":"git://github.com/JLLeitschuh/GRIP.git","ssh_url":"git@github.com:JLLeitschuh/GRIP.git","clone_url":"https://github.com/JLLeitschuh/GRIP.git","svn_url":"https://github.com/JLLeitschuh/GRIP","homepage":null,"size":10496,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"WPIRoboticsProjects:master","ref":"master","sha":"172a4e51e6bd3208edcae9736c036a637216432b","user":{"login":"WPIRoboticsProjects","id":14004340,"avatar_url":"https://avatars.githubusercontent.com/u/14004340?v=3","gravatar_id":"","url":"https://api.github.com/users/WPIRoboticsProjects","html_url":"https://github.com/WPIRoboticsProjects","followers_url":"https://api.github.com/users/WPIRoboticsProjects/followers","following_url":"https://api.github.com/users/WPIRoboticsProjects/following{/other_user}","gists_url":"https://api.github.com/users/WPIRoboticsProjects/gists{/gist_id}","starred_url":"https://api.github.com/users/WPIRoboticsProjects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WPIRoboticsProjects/subscriptions","organizations_url":"https://api.github.com/users/WPIRoboticsProjects/orgs","repos_url":"https://api.github.com/users/WPIRoboticsProjects/repos","events_url":"https://api.github.com/users/WPIRoboticsProjects/events{/privacy}","received_events_url":"https://api.github.com/users/WPIRoboticsProjects/received_events","type":"Organization","site_admin":false},"repo":{"id":41505521,"name":"GRIP","full_name":"WPIRoboticsProjects/GRIP","owner":{"login":"WPIRoboticsProjects","id":14004340,"avatar_url":"https://avatars.githubusercontent.com/u/14004340?v=3","gravatar_id":"","url":"https://api.github.com/users/WPIRoboticsProjects","html_url":"https://github.com/WPIRoboticsProjects","followers_url":"https://api.github.com/users/WPIRoboticsProjects/followers","following_url":"https://api.github.com/users/WPIRoboticsProjects/following{/other_user}","gists_url":"https://api.github.com/users/WPIRoboticsProjects/gists{/gist_id}","starred_url":"https://api.github.com/users/WPIRoboticsProjects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WPIRoboticsProjects/subscriptions","organizations_url":"https://api.github.com/users/WPIRoboticsProjects/orgs","repos_url":"https://api.github.com/users/WPIRoboticsProjects/repos","events_url":"https://api.github.com/users/WPIRoboticsProjects/events{/privacy}","received_events_url":"https://api.github.com/users/WPIRoboticsProjects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WPIRoboticsProjects/GRIP","description":"Program for rapidly developing computer vision applications","fork":false,"url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP","forks_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/forks","keys_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/teams","hooks_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/hooks","issue_events_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/issues/events{/number}","events_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/events","assignees_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/assignees{/user}","branches_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/branches{/branch}","tags_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/tags","blobs_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/git/refs{/sha}","trees_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/statuses/{sha}","languages_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/languages","stargazers_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/stargazers","contributors_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/contributors","subscribers_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/subscribers","subscription_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/subscription","commits_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/commits{/sha}","git_commits_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/git/commits{/sha}","comments_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/comments{/number}","issue_comment_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/issues/comments{/number}","contents_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/contents/{+path}","compare_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/merges","archive_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/downloads","issues_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/issues{/number}","pulls_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls{/number}","milestones_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/milestones{/number}","notifications_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/labels{/name}","releases_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/releases{/id}","deployments_url":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/deployments","created_at":"2015-08-27T18:59:07Z","updated_at":"2016-01-25T01:00:27Z","pushed_at":"2016-01-27T04:22:10Z","git_url":"git://github.com/WPIRoboticsProjects/GRIP.git","ssh_url":"git@github.com:WPIRoboticsProjects/GRIP.git","clone_url":"https://github.com/WPIRoboticsProjects/GRIP.git","svn_url":"https://github.com/WPIRoboticsProjects/GRIP","homepage":"http://wpiroboticsprojects.github.io/GRIP","size":29737,"stargazers_count":62,"watchers_count":62,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":22,"mirror_url":null,"open_issues_count":75,"forks":22,"open_issues":75,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/392"},"html":{"href":"https://github.com/WPIRoboticsProjects/GRIP/pull/392"},"issue":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/issues/392"},"comments":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/issues/392/comments"},"review_comments":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/392/comments"},"review_comment":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/pulls/392/commits"},"statuses":{"href":"https://api.github.com/repos/WPIRoboticsProjects/GRIP/statuses/8c7895b43485cfb82d95517034d5ed60d1b3ffe8"}}}}