{"action":"created","comment":{"url":"https://api.github.com/repos/gradle/incap/pulls/comments/124658494","pull_request_review_id":46970065,"id":124658494,"diff_hunk":"@@ -0,0 +1,240 @@\n+package org.gradle.incap;\n+\n+import java.util.ArrayList;\n+import java.util.Collections;\n+import java.util.HashSet;\n+import java.util.List;\n+import java.util.Set;\n+\n+/**\n+ * Encapsulates information about an in-progress build.\n+ */\n+public class BuildSpec {\n+\n+    public enum BuildType {FULL, INCREMENTAL}\n+\n+    private BuildType buildType;\n+    private String workingDir;\n+    private List<String> classPath;\n+    private List<String> sourcePath;\n+    private Set<String> modifiedFiles;\n+    private Set<String> deletedFiles;","path":"core/src/main/java/org/gradle/incap/BuildSpec.java","position":21,"original_position":21,"commit_id":"d3e9fe248c490555dea30f55c6e7bbe7a8775028","original_commit_id":"d3e9fe248c490555dea30f55c6e7bbe7a8775028","user":{"login":"gstevey","id":29737393,"avatar_url":"https://avatars1.githubusercontent.com/u/29737393?v=3","gravatar_id":"","url":"https://api.github.com/users/gstevey","html_url":"https://github.com/gstevey","followers_url":"https://api.github.com/users/gstevey/followers","following_url":"https://api.github.com/users/gstevey/following{/other_user}","gists_url":"https://api.github.com/users/gstevey/gists{/gist_id}","starred_url":"https://api.github.com/users/gstevey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gstevey/subscriptions","organizations_url":"https://api.github.com/users/gstevey/orgs","repos_url":"https://api.github.com/users/gstevey/repos","events_url":"https://api.github.com/users/gstevey/events{/privacy}","received_events_url":"https://api.github.com/users/gstevey/received_events","type":"User","site_admin":false},"body":"I'd be fine with a richer model, but FileCollection is a Gradle concept, and I don't want a dependency on Gradle.  How about just Set<File>?\r\n\r\nFileCollection is mostly useful for when you're dealing with transforming unknown sets (e.g. which are configurable and built by another task), e.g. for specifying task outputs.  It would be overkill for our use case.\r\n","created_at":"2017-06-28T21:14:36Z","updated_at":"2017-06-28T21:14:36Z","html_url":"https://github.com/gradle/incap/pull/10#discussion_r124658494","pull_request_url":"https://api.github.com/repos/gradle/incap/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/gradle/incap/pulls/comments/124658494"},"html":{"href":"https://github.com/gradle/incap/pull/10#discussion_r124658494"},"pull_request":{"href":"https://api.github.com/repos/gradle/incap/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/gradle/incap/pulls/10","id":127971130,"html_url":"https://github.com/gradle/incap/pull/10","diff_url":"https://github.com/gradle/incap/pull/10.diff","patch_url":"https://github.com/gradle/incap/pull/10.patch","issue_url":"https://api.github.com/repos/gradle/incap/issues/10","number":10,"state":"open","locked":false,"title":"draft API -- needs review","user":{"login":"gstevey","id":29737393,"avatar_url":"https://avatars1.githubusercontent.com/u/29737393?v=3","gravatar_id":"","url":"https://api.github.com/users/gstevey","html_url":"https://github.com/gstevey","followers_url":"https://api.github.com/users/gstevey/followers","following_url":"https://api.github.com/users/gstevey/following{/other_user}","gists_url":"https://api.github.com/users/gstevey/gists{/gist_id}","starred_url":"https://api.github.com/users/gstevey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gstevey/subscriptions","organizations_url":"https://api.github.com/users/gstevey/orgs","repos_url":"https://api.github.com/users/gstevey/repos","events_url":"https://api.github.com/users/gstevey/events{/privacy}","received_events_url":"https://api.github.com/users/gstevey/received_events","type":"User","site_admin":false},"body":"This is my first-ever GitHub PR.  I'm a newbie, so apologies for any mistakes I may make.\r\n\r\nI took a stab at the initial API definition.  Please look closely!  I am definitely not looking for a rubber stamp on this one.  Thanks.","created_at":"2017-06-28T16:56:32Z","updated_at":"2017-06-28T21:14:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f64ee89b315875af7cf0578b1aab3cd7265a0edd","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/gradle/incap/pulls/10/commits","review_comments_url":"https://api.github.com/repos/gradle/incap/pulls/10/comments","review_comment_url":"https://api.github.com/repos/gradle/incap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gradle/incap/issues/10/comments","statuses_url":"https://api.github.com/repos/gradle/incap/statuses/d3e9fe248c490555dea30f55c6e7bbe7a8775028","head":{"label":"gradle:initial-api","ref":"initial-api","sha":"d3e9fe248c490555dea30f55c6e7bbe7a8775028","user":{"login":"gradle","id":124156,"avatar_url":"https://avatars1.githubusercontent.com/u/124156?v=3","gravatar_id":"","url":"https://api.github.com/users/gradle","html_url":"https://github.com/gradle","followers_url":"https://api.github.com/users/gradle/followers","following_url":"https://api.github.com/users/gradle/following{/other_user}","gists_url":"https://api.github.com/users/gradle/gists{/gist_id}","starred_url":"https://api.github.com/users/gradle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradle/subscriptions","organizations_url":"https://api.github.com/users/gradle/orgs","repos_url":"https://api.github.com/users/gradle/repos","events_url":"https://api.github.com/users/gradle/events{/privacy}","received_events_url":"https://api.github.com/users/gradle/received_events","type":"Organization","site_admin":false},"repo":{"id":95260569,"name":"incap","full_name":"gradle/incap","owner":{"login":"gradle","id":124156,"avatar_url":"https://avatars1.githubusercontent.com/u/124156?v=3","gravatar_id":"","url":"https://api.github.com/users/gradle","html_url":"https://github.com/gradle","followers_url":"https://api.github.com/users/gradle/followers","following_url":"https://api.github.com/users/gradle/following{/other_user}","gists_url":"https://api.github.com/users/gradle/gists{/gist_id}","starred_url":"https://api.github.com/users/gradle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradle/subscriptions","organizations_url":"https://api.github.com/users/gradle/orgs","repos_url":"https://api.github.com/users/gradle/repos","events_url":"https://api.github.com/users/gradle/events{/privacy}","received_events_url":"https://api.github.com/users/gradle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gradle/incap","description":"Incremental Java Annotation Processing","fork":false,"url":"https://api.github.com/repos/gradle/incap","forks_url":"https://api.github.com/repos/gradle/incap/forks","keys_url":"https://api.github.com/repos/gradle/incap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gradle/incap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gradle/incap/teams","hooks_url":"https://api.github.com/repos/gradle/incap/hooks","issue_events_url":"https://api.github.com/repos/gradle/incap/issues/events{/number}","events_url":"https://api.github.com/repos/gradle/incap/events","assignees_url":"https://api.github.com/repos/gradle/incap/assignees{/user}","branches_url":"https://api.github.com/repos/gradle/incap/branches{/branch}","tags_url":"https://api.github.com/repos/gradle/incap/tags","blobs_url":"https://api.github.com/repos/gradle/incap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gradle/incap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gradle/incap/git/refs{/sha}","trees_url":"https://api.github.com/repos/gradle/incap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gradle/incap/statuses/{sha}","languages_url":"https://api.github.com/repos/gradle/incap/languages","stargazers_url":"https://api.github.com/repos/gradle/incap/stargazers","contributors_url":"https://api.github.com/repos/gradle/incap/contributors","subscribers_url":"https://api.github.com/repos/gradle/incap/subscribers","subscription_url":"https://api.github.com/repos/gradle/incap/subscription","commits_url":"https://api.github.com/repos/gradle/incap/commits{/sha}","git_commits_url":"https://api.github.com/repos/gradle/incap/git/commits{/sha}","comments_url":"https://api.github.com/repos/gradle/incap/comments{/number}","issue_comment_url":"https://api.github.com/repos/gradle/incap/issues/comments{/number}","contents_url":"https://api.github.com/repos/gradle/incap/contents/{+path}","compare_url":"https://api.github.com/repos/gradle/incap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gradle/incap/merges","archive_url":"https://api.github.com/repos/gradle/incap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gradle/incap/downloads","issues_url":"https://api.github.com/repos/gradle/incap/issues{/number}","pulls_url":"https://api.github.com/repos/gradle/incap/pulls{/number}","milestones_url":"https://api.github.com/repos/gradle/incap/milestones{/number}","notifications_url":"https://api.github.com/repos/gradle/incap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gradle/incap/labels{/name}","releases_url":"https://api.github.com/repos/gradle/incap/releases{/id}","deployments_url":"https://api.github.com/repos/gradle/incap/deployments","created_at":"2017-06-23T22:22:39Z","updated_at":"2017-06-28T04:43:51Z","pushed_at":"2017-06-28T21:13:37Z","git_url":"git://github.com/gradle/incap.git","ssh_url":"git@github.com:gradle/incap.git","clone_url":"https://github.com/gradle/incap.git","svn_url":"https://github.com/gradle/incap","homepage":"","size":6046,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"gradle:master","ref":"master","sha":"762a061ef12828bc27a6430b88a19aa544510bbd","user":{"login":"gradle","id":124156,"avatar_url":"https://avatars1.githubusercontent.com/u/124156?v=3","gravatar_id":"","url":"https://api.github.com/users/gradle","html_url":"https://github.com/gradle","followers_url":"https://api.github.com/users/gradle/followers","following_url":"https://api.github.com/users/gradle/following{/other_user}","gists_url":"https://api.github.com/users/gradle/gists{/gist_id}","starred_url":"https://api.github.com/users/gradle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradle/subscriptions","organizations_url":"https://api.github.com/users/gradle/orgs","repos_url":"https://api.github.com/users/gradle/repos","events_url":"https://api.github.com/users/gradle/events{/privacy}","received_events_url":"https://api.github.com/users/gradle/received_events","type":"Organization","site_admin":false},"repo":{"id":95260569,"name":"incap","full_name":"gradle/incap","owner":{"login":"gradle","id":124156,"avatar_url":"https://avatars1.githubusercontent.com/u/124156?v=3","gravatar_id":"","url":"https://api.github.com/users/gradle","html_url":"https://github.com/gradle","followers_url":"https://api.github.com/users/gradle/followers","following_url":"https://api.github.com/users/gradle/following{/other_user}","gists_url":"https://api.github.com/users/gradle/gists{/gist_id}","starred_url":"https://api.github.com/users/gradle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradle/subscriptions","organizations_url":"https://api.github.com/users/gradle/orgs","repos_url":"https://api.github.com/users/gradle/repos","events_url":"https://api.github.com/users/gradle/events{/privacy}","received_events_url":"https://api.github.com/users/gradle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gradle/incap","description":"Incremental Java Annotation Processing","fork":false,"url":"https://api.github.com/repos/gradle/incap","forks_url":"https://api.github.com/repos/gradle/incap/forks","keys_url":"https://api.github.com/repos/gradle/incap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gradle/incap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gradle/incap/teams","hooks_url":"https://api.github.com/repos/gradle/incap/hooks","issue_events_url":"https://api.github.com/repos/gradle/incap/issues/events{/number}","events_url":"https://api.github.com/repos/gradle/incap/events","assignees_url":"https://api.github.com/repos/gradle/incap/assignees{/user}","branches_url":"https://api.github.com/repos/gradle/incap/branches{/branch}","tags_url":"https://api.github.com/repos/gradle/incap/tags","blobs_url":"https://api.github.com/repos/gradle/incap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gradle/incap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gradle/incap/git/refs{/sha}","trees_url":"https://api.github.com/repos/gradle/incap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gradle/incap/statuses/{sha}","languages_url":"https://api.github.com/repos/gradle/incap/languages","stargazers_url":"https://api.github.com/repos/gradle/incap/stargazers","contributors_url":"https://api.github.com/repos/gradle/incap/contributors","subscribers_url":"https://api.github.com/repos/gradle/incap/subscribers","subscription_url":"https://api.github.com/repos/gradle/incap/subscription","commits_url":"https://api.github.com/repos/gradle/incap/commits{/sha}","git_commits_url":"https://api.github.com/repos/gradle/incap/git/commits{/sha}","comments_url":"https://api.github.com/repos/gradle/incap/comments{/number}","issue_comment_url":"https://api.github.com/repos/gradle/incap/issues/comments{/number}","contents_url":"https://api.github.com/repos/gradle/incap/contents/{+path}","compare_url":"https://api.github.com/repos/gradle/incap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gradle/incap/merges","archive_url":"https://api.github.com/repos/gradle/incap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gradle/incap/downloads","issues_url":"https://api.github.com/repos/gradle/incap/issues{/number}","pulls_url":"https://api.github.com/repos/gradle/incap/pulls{/number}","milestones_url":"https://api.github.com/repos/gradle/incap/milestones{/number}","notifications_url":"https://api.github.com/repos/gradle/incap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gradle/incap/labels{/name}","releases_url":"https://api.github.com/repos/gradle/incap/releases{/id}","deployments_url":"https://api.github.com/repos/gradle/incap/deployments","created_at":"2017-06-23T22:22:39Z","updated_at":"2017-06-28T04:43:51Z","pushed_at":"2017-06-28T21:13:37Z","git_url":"git://github.com/gradle/incap.git","ssh_url":"git@github.com:gradle/incap.git","clone_url":"https://github.com/gradle/incap.git","svn_url":"https://github.com/gradle/incap","homepage":"","size":6046,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gradle/incap/pulls/10"},"html":{"href":"https://github.com/gradle/incap/pull/10"},"issue":{"href":"https://api.github.com/repos/gradle/incap/issues/10"},"comments":{"href":"https://api.github.com/repos/gradle/incap/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/gradle/incap/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/gradle/incap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gradle/incap/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/gradle/incap/statuses/d3e9fe248c490555dea30f55c6e7bbe7a8775028"}}}}
{"actor":{"display_login":"gstevey"}}