{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/comments/49567640","id":49567640,"diff_hunk":"@@ -0,0 +1,114 @@\n+/*\n+ *  Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+ *\n+ *  Licensed under the Apache License, Version 2.0 (the \"License\");\n+ *  you may not use this file except in compliance with the License.\n+ *  You may obtain a copy of the License at\n+ *\n+ *  http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ *  Unless required by applicable law or agreed to in writing, software\n+ *  distributed under the License is distributed on an \"AS IS\" BASIS,\n+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ *  See the License for the specific language governing permissions and\n+ *  limitations under the License.\n+ */\n+\n+package org.wso2.maven.p2.feature.install;\n+\n+import org.apache.maven.plugin.logging.Log;\n+import org.apache.maven.project.MavenProject;\n+import org.eclipse.tycho.p2.facade.internal.P2ApplicationLauncher;\n+\n+import java.net.URL;\n+import java.util.List;\n+\n+/**\n+ * Bean class containing all the parameters entered to the mojo through plugin configuration.\n+ * The purpose of this class is to make any configuration property accessible from any class by simply passing this\n+ * bean as a parameter.\n+ */\n+public class FeatureInstallResourceBundle {\n+\n+    private String destination;\n+    private String profile;\n+    private URL repository;\n+    private List<Feature> features;\n+    private boolean deleteOldProfileFiles;\n+    private MavenProject project;\n+    private P2ApplicationLauncher launcher;\n+    private int forkedProcessTimeoutInSeconds;\n+    private Log log;\n+\n+    public String getDestination() {","path":"carbon-p2-plugin/src/main/java/org/wso2/maven/p2/feature/install/FeatureInstallResourceBundle.java","position":43,"original_position":43,"commit_id":"64d58ee4d26981b9085ce27b21b33dbb21adb3cf","original_commit_id":"64d58ee4d26981b9085ce27b21b33dbb21adb3cf","user":{"login":"Kishanthan","id":690559,"avatar_url":"https://avatars.githubusercontent.com/u/690559?v=3","gravatar_id":"","url":"https://api.github.com/users/Kishanthan","html_url":"https://github.com/Kishanthan","followers_url":"https://api.github.com/users/Kishanthan/followers","following_url":"https://api.github.com/users/Kishanthan/following{/other_user}","gists_url":"https://api.github.com/users/Kishanthan/gists{/gist_id}","starred_url":"https://api.github.com/users/Kishanthan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kishanthan/subscriptions","organizations_url":"https://api.github.com/users/Kishanthan/orgs","repos_url":"https://api.github.com/users/Kishanthan/repos","events_url":"https://api.github.com/users/Kishanthan/events{/privacy}","received_events_url":"https://api.github.com/users/Kishanthan/received_events","type":"User","site_admin":false},"body":"Let's add javadocs for all the public methods as a best practice.","created_at":"2016-01-13T09:33:22Z","updated_at":"2016-01-13T09:33:22Z","html_url":"https://github.com/wso2/carbon-maven-plugins/pull/5#discussion_r49567640","pull_request_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/comments/49567640"},"html":{"href":"https://github.com/wso2/carbon-maven-plugins/pull/5#discussion_r49567640"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/5","id":47762098,"html_url":"https://github.com/wso2/carbon-maven-plugins/pull/5","diff_url":"https://github.com/wso2/carbon-maven-plugins/pull/5.diff","patch_url":"https://github.com/wso2/carbon-maven-plugins/pull/5.patch","issue_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/issues/5","number":5,"state":"closed","locked":false,"title":"CARBON-15478: Redesign and refactor repo-gen maven goal of carbon-p2-plugin ","user":{"login":"dinushab","id":4757626,"avatar_url":"https://avatars.githubusercontent.com/u/4757626?v=3","gravatar_id":"","url":"https://api.github.com/users/dinushab","html_url":"https://github.com/dinushab","followers_url":"https://api.github.com/users/dinushab/followers","following_url":"https://api.github.com/users/dinushab/following{/other_user}","gists_url":"https://api.github.com/users/dinushab/gists{/gist_id}","starred_url":"https://api.github.com/users/dinushab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinushab/subscriptions","organizations_url":"https://api.github.com/users/dinushab/orgs","repos_url":"https://api.github.com/users/dinushab/repos","events_url":"https://api.github.com/users/dinushab/events{/privacy}","received_events_url":"https://api.github.com/users/dinushab/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-15T09:21:12Z","updated_at":"2016-01-13T09:33:22Z","closed_at":"2015-10-16T13:56:01Z","merged_at":"2015-10-16T13:56:01Z","merge_commit_sha":"7de7daf1f81a5bf47e090dcf52d41ea4f7f43629","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/5/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/5/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/issues/5/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/statuses/64d58ee4d26981b9085ce27b21b33dbb21adb3cf","head":{"label":"dinushab:repo-gen","ref":"repo-gen","sha":"64d58ee4d26981b9085ce27b21b33dbb21adb3cf","user":{"login":"dinushab","id":4757626,"avatar_url":"https://avatars.githubusercontent.com/u/4757626?v=3","gravatar_id":"","url":"https://api.github.com/users/dinushab","html_url":"https://github.com/dinushab","followers_url":"https://api.github.com/users/dinushab/followers","following_url":"https://api.github.com/users/dinushab/following{/other_user}","gists_url":"https://api.github.com/users/dinushab/gists{/gist_id}","starred_url":"https://api.github.com/users/dinushab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinushab/subscriptions","organizations_url":"https://api.github.com/users/dinushab/orgs","repos_url":"https://api.github.com/users/dinushab/repos","events_url":"https://api.github.com/users/dinushab/events{/privacy}","received_events_url":"https://api.github.com/users/dinushab/received_events","type":"User","site_admin":false},"repo":{"id":44299021,"name":"carbon-maven-plugins","full_name":"dinushab/carbon-maven-plugins","owner":{"login":"dinushab","id":4757626,"avatar_url":"https://avatars.githubusercontent.com/u/4757626?v=3","gravatar_id":"","url":"https://api.github.com/users/dinushab","html_url":"https://github.com/dinushab","followers_url":"https://api.github.com/users/dinushab/followers","following_url":"https://api.github.com/users/dinushab/following{/other_user}","gists_url":"https://api.github.com/users/dinushab/gists{/gist_id}","starred_url":"https://api.github.com/users/dinushab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinushab/subscriptions","organizations_url":"https://api.github.com/users/dinushab/orgs","repos_url":"https://api.github.com/users/dinushab/repos","events_url":"https://api.github.com/users/dinushab/events{/privacy}","received_events_url":"https://api.github.com/users/dinushab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dinushab/carbon-maven-plugins","description":"","fork":true,"url":"https://api.github.com/repos/dinushab/carbon-maven-plugins","forks_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/forks","keys_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/teams","hooks_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/hooks","issue_events_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/events","assignees_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/tags","blobs_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/languages","stargazers_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/stargazers","contributors_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/contributors","subscribers_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/subscribers","subscription_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/subscription","commits_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/merges","archive_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/downloads","issues_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/labels{/name}","releases_url":"https://api.github.com/repos/dinushab/carbon-maven-plugins/releases{/id}","created_at":"2015-10-15T06:49:31Z","updated_at":"2016-01-13T07:04:26Z","pushed_at":"2016-01-13T07:04:25Z","git_url":"git://github.com/dinushab/carbon-maven-plugins.git","ssh_url":"git@github.com:dinushab/carbon-maven-plugins.git","clone_url":"https://github.com/dinushab/carbon-maven-plugins.git","svn_url":"https://github.com/dinushab/carbon-maven-plugins","homepage":null,"size":671,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"3c8186f2bfa9f47f249e6bb31dc1188362398161","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":44228907,"name":"carbon-maven-plugins","full_name":"wso2/carbon-maven-plugins","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-maven-plugins","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-maven-plugins","forks_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/forks","keys_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/events","assignees_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/merges","archive_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-maven-plugins/releases{/id}","created_at":"2015-10-14T06:39:10Z","updated_at":"2015-10-15T06:31:49Z","pushed_at":"2016-01-13T07:07:24Z","git_url":"git://github.com/wso2/carbon-maven-plugins.git","ssh_url":"git@github.com:wso2/carbon-maven-plugins.git","clone_url":"https://github.com/wso2/carbon-maven-plugins.git","svn_url":"https://github.com/wso2/carbon-maven-plugins","homepage":null,"size":703,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/5"},"html":{"href":"https://github.com/wso2/carbon-maven-plugins/pull/5"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/issues/5"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-maven-plugins/statuses/64d58ee4d26981b9085ce27b21b33dbb21adb3cf"}}}}