{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/44655424","id":44655424,"diff_hunk":"@@ -0,0 +1,214 @@\n+/**\n+ * Copyright (c) 1997, 2015 by ProSyst Software GmbH 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.automation.internal.commands;\n+\n+import java.io.File;\n+import java.util.Collection;\n+import java.util.HashSet;\n+import java.util.Locale;\n+import java.util.Set;\n+\n+import org.eclipse.smarthome.automation.parser.Parser;\n+import org.eclipse.smarthome.automation.type.ActionType;\n+import org.eclipse.smarthome.automation.type.CompositeActionType;\n+import org.eclipse.smarthome.automation.type.CompositeConditionType;\n+import org.eclipse.smarthome.automation.type.CompositeTriggerType;\n+import org.eclipse.smarthome.automation.type.ConditionType;\n+import org.eclipse.smarthome.automation.type.TriggerType;\n+\n+/**\n+ * This class provides common functionality of commands:\n+ * <ul>\n+ * <li>{@link AutomationCommands#EXPORT_MODULE_TYPES}\n+ * <li>{@link AutomationCommands#EXPORT_TEMPLATES}\n+ * <li>{@link AutomationCommands#EXPORT_RULES}\n+ * </ul>\n+ *\n+ * @author Ana Dimova - Initial Contribution\n+ * @author Ana Dimova - refactor Parser interface.","path":"bundles/automation/org.eclipse.smarthome.automation.commands/src/main/java/org/eclipse/smarthome/automation/internal/commands/AutomationCommandExport.java","position":33,"original_position":33,"commit_id":"58ce0844b99865396aa6035e954b1a50d138bda4","original_commit_id":"ef269e4aec08d31c83fdda87c97ec43ed142c6e5","user":{"login":"kaikreuzer","id":3244965,"avatar_url":"https://avatars.githubusercontent.com/u/3244965?v=3","gravatar_id":"","url":"https://api.github.com/users/kaikreuzer","html_url":"https://github.com/kaikreuzer","followers_url":"https://api.github.com/users/kaikreuzer/followers","following_url":"https://api.github.com/users/kaikreuzer/following{/other_user}","gists_url":"https://api.github.com/users/kaikreuzer/gists{/gist_id}","starred_url":"https://api.github.com/users/kaikreuzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaikreuzer/subscriptions","organizations_url":"https://api.github.com/users/kaikreuzer/orgs","repos_url":"https://api.github.com/users/kaikreuzer/repos","events_url":"https://api.github.com/users/kaikreuzer/events{/privacy}","received_events_url":"https://api.github.com/users/kaikreuzer/received_events","type":"User","site_admin":false},"body":"@adimova Could you please remove this additional author tag?","created_at":"2015-11-12T13:20:54Z","updated_at":"2015-11-12T13:20:54Z","html_url":"https://github.com/eclipse/smarthome/pull/317#discussion_r44655424","pull_request_url":"https://api.github.com/repos/eclipse/smarthome/pulls/317","_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments/44655424"},"html":{"href":"https://github.com/eclipse/smarthome/pull/317#discussion_r44655424"},"pull_request":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/317"}}},"pull_request":{"url":"https://api.github.com/repos/eclipse/smarthome/pulls/317","id":36026769,"html_url":"https://github.com/eclipse/smarthome/pull/317","diff_url":"https://github.com/eclipse/smarthome/pull/317.diff","patch_url":"https://github.com/eclipse/smarthome/pull/317.patch","issue_url":"https://api.github.com/repos/eclipse/smarthome/issues/317","number":317,"state":"open","locked":false,"title":"Initial implementation of the automation component","user":{"login":"marinmitev","id":10187512,"avatar_url":"https://avatars.githubusercontent.com/u/10187512?v=3","gravatar_id":"","url":"https://api.github.com/users/marinmitev","html_url":"https://github.com/marinmitev","followers_url":"https://api.github.com/users/marinmitev/followers","following_url":"https://api.github.com/users/marinmitev/following{/other_user}","gists_url":"https://api.github.com/users/marinmitev/gists{/gist_id}","starred_url":"https://api.github.com/users/marinmitev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinmitev/subscriptions","organizations_url":"https://api.github.com/users/marinmitev/orgs","repos_url":"https://api.github.com/users/marinmitev/repos","events_url":"https://api.github.com/users/marinmitev/events{/privacy}","received_events_url":"https://api.github.com/users/marinmitev/received_events","type":"User","site_admin":false},"body":"Author: Marin Mitev <marin.mitev@gmail.com>\r\nAlso-by: Jordan Mihailov <j.mihailov@prosyst.com>\r\nAlso-by: Vasil Ilchev <v.ilchev@prosyst.bg>\r\nAlso-by: Ana Dimova <a.dimova@prosyst.bg>\r\n\r\nSigned-off-by: Marin Mitev <marin.mitev@gmail.com>","created_at":"2015-05-22T12:38:35Z","updated_at":"2015-11-12T13:20:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e5c08b66db576400a7c95626255623bf4e9399f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/smarthome/pulls/317/commits","review_comments_url":"https://api.github.com/repos/eclipse/smarthome/pulls/317/comments","review_comment_url":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/317/comments","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/58ce0844b99865396aa6035e954b1a50d138bda4","head":{"label":"marinmitev:automation-component-impl","ref":"automation-component-impl","sha":"58ce0844b99865396aa6035e954b1a50d138bda4","user":{"login":"marinmitev","id":10187512,"avatar_url":"https://avatars.githubusercontent.com/u/10187512?v=3","gravatar_id":"","url":"https://api.github.com/users/marinmitev","html_url":"https://github.com/marinmitev","followers_url":"https://api.github.com/users/marinmitev/followers","following_url":"https://api.github.com/users/marinmitev/following{/other_user}","gists_url":"https://api.github.com/users/marinmitev/gists{/gist_id}","starred_url":"https://api.github.com/users/marinmitev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinmitev/subscriptions","organizations_url":"https://api.github.com/users/marinmitev/orgs","repos_url":"https://api.github.com/users/marinmitev/repos","events_url":"https://api.github.com/users/marinmitev/events{/privacy}","received_events_url":"https://api.github.com/users/marinmitev/received_events","type":"User","site_admin":false},"repo":{"id":29968563,"name":"smarthome","full_name":"marinmitev/smarthome","owner":{"login":"marinmitev","id":10187512,"avatar_url":"https://avatars.githubusercontent.com/u/10187512?v=3","gravatar_id":"","url":"https://api.github.com/users/marinmitev","html_url":"https://github.com/marinmitev","followers_url":"https://api.github.com/users/marinmitev/followers","following_url":"https://api.github.com/users/marinmitev/following{/other_user}","gists_url":"https://api.github.com/users/marinmitev/gists{/gist_id}","starred_url":"https://api.github.com/users/marinmitev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinmitev/subscriptions","organizations_url":"https://api.github.com/users/marinmitev/orgs","repos_url":"https://api.github.com/users/marinmitev/repos","events_url":"https://api.github.com/users/marinmitev/events{/privacy}","received_events_url":"https://api.github.com/users/marinmitev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marinmitev/smarthome","description":"Eclipse SmartHome project","fork":true,"url":"https://api.github.com/repos/marinmitev/smarthome","forks_url":"https://api.github.com/repos/marinmitev/smarthome/forks","keys_url":"https://api.github.com/repos/marinmitev/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marinmitev/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marinmitev/smarthome/teams","hooks_url":"https://api.github.com/repos/marinmitev/smarthome/hooks","issue_events_url":"https://api.github.com/repos/marinmitev/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/marinmitev/smarthome/events","assignees_url":"https://api.github.com/repos/marinmitev/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/marinmitev/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/marinmitev/smarthome/tags","blobs_url":"https://api.github.com/repos/marinmitev/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marinmitev/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marinmitev/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/marinmitev/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marinmitev/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/marinmitev/smarthome/languages","stargazers_url":"https://api.github.com/repos/marinmitev/smarthome/stargazers","contributors_url":"https://api.github.com/repos/marinmitev/smarthome/contributors","subscribers_url":"https://api.github.com/repos/marinmitev/smarthome/subscribers","subscription_url":"https://api.github.com/repos/marinmitev/smarthome/subscription","commits_url":"https://api.github.com/repos/marinmitev/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/marinmitev/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/marinmitev/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/marinmitev/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/marinmitev/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/marinmitev/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marinmitev/smarthome/merges","archive_url":"https://api.github.com/repos/marinmitev/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marinmitev/smarthome/downloads","issues_url":"https://api.github.com/repos/marinmitev/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/marinmitev/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/marinmitev/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/marinmitev/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marinmitev/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/marinmitev/smarthome/releases{/id}","created_at":"2015-01-28T13:25:03Z","updated_at":"2015-08-11T12:57:27Z","pushed_at":"2015-11-12T12:54:54Z","git_url":"git://github.com/marinmitev/smarthome.git","ssh_url":"git@github.com:marinmitev/smarthome.git","clone_url":"https://github.com/marinmitev/smarthome.git","svn_url":"https://github.com/marinmitev/smarthome","homepage":null,"size":13899,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":9,"forks":1,"open_issues":9,"watchers":2,"default_branch":"master"}},"base":{"label":"eclipse:master","ref":"master","sha":"91f4129d57eef6bc03ea503befe791603a2b4b2b","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":15778981,"name":"smarthome","full_name":"eclipse/smarthome","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars.githubusercontent.com/u/56974?v=3","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/smarthome","description":"Eclipse SmartHome project","fork":false,"url":"https://api.github.com/repos/eclipse/smarthome","forks_url":"https://api.github.com/repos/eclipse/smarthome/forks","keys_url":"https://api.github.com/repos/eclipse/smarthome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/smarthome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/smarthome/teams","hooks_url":"https://api.github.com/repos/eclipse/smarthome/hooks","issue_events_url":"https://api.github.com/repos/eclipse/smarthome/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/smarthome/events","assignees_url":"https://api.github.com/repos/eclipse/smarthome/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/smarthome/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/smarthome/tags","blobs_url":"https://api.github.com/repos/eclipse/smarthome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/smarthome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/smarthome/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/smarthome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/smarthome/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/smarthome/languages","stargazers_url":"https://api.github.com/repos/eclipse/smarthome/stargazers","contributors_url":"https://api.github.com/repos/eclipse/smarthome/contributors","subscribers_url":"https://api.github.com/repos/eclipse/smarthome/subscribers","subscription_url":"https://api.github.com/repos/eclipse/smarthome/subscription","commits_url":"https://api.github.com/repos/eclipse/smarthome/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/smarthome/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/smarthome/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/smarthome/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/smarthome/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/smarthome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/smarthome/merges","archive_url":"https://api.github.com/repos/eclipse/smarthome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/smarthome/downloads","issues_url":"https://api.github.com/repos/eclipse/smarthome/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/smarthome/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/smarthome/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/smarthome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/smarthome/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/smarthome/releases{/id}","created_at":"2014-01-09T20:47:19Z","updated_at":"2015-11-12T12:02:53Z","pushed_at":"2015-11-12T12:42:31Z","git_url":"git://github.com/eclipse/smarthome.git","ssh_url":"git@github.com:eclipse/smarthome.git","clone_url":"https://github.com/eclipse/smarthome.git","svn_url":"https://github.com/eclipse/smarthome","homepage":null,"size":23016,"stargazers_count":196,"watchers_count":196,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":195,"mirror_url":null,"open_issues_count":16,"forks":195,"open_issues":16,"watchers":196,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/317"},"html":{"href":"https://github.com/eclipse/smarthome/pull/317"},"issue":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/317"},"comments":{"href":"https://api.github.com/repos/eclipse/smarthome/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/smarthome/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/smarthome/statuses/58ce0844b99865396aa6035e954b1a50d138bda4"}}}}