GitHub PullRequestReviewCommentEvent at 2014-05-17 21:40:12
Repository: job-dsl-plugin
Actor: wolfs
Payload: {"comment":{"url":"https://api.github.com/repos/jenkinsci/job-dsl-plugin/pulls/comments/12770843","id":12770843,"diff_hunk":"@@ -1,35 +1,86 @@\n package javaposse.jobdsl.dsl.helpers.wrapper\n \n-import javaposse.jobdsl.dsl.helpers.Context\n+import static javaposse.jobdsl.dsl.helpers.wrapper.WrapperContext.Timeout.*\n \n+import com.google.common.base.Preconditions\n+import javaposse.jobdsl.dsl.helpers.Context\n \n /** Context to configure timeout */\n class TimeoutContext implements Context {\n \n     WrapperContext.Timeout type\n-    def limit = 3\n-    def failBuild = false\n-    def writeDescription = false\n-    def percentage = 0\n+    int limit = 3\n+\n+    int percentage = 150\n+    int numberOfBuilds = 3\n+    int minutesDefault = 60\n+\n+    int noActivitySeconds = 180\n+\n+    boolean failBuild = false\n+    boolean writeDescription = false\n+    String description = ''\n \n     TimeoutContext(WrapperContext.Timeout type) {\n         this.type = type\n     }\n \n+    /**\n+     * @deprecated for backwards compatibility\n+     */\n+    @Deprecated","path":"job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/wrapper/TimeoutContext.groovy","position":36,"original_position":36,"commit_id":"8db695e64276b9d6221a1f794fce9aac6d3cf304","original_commit_id":"8db695e64276b9d6221a1f794fce9aac6d3cf304","user":{"login":"wolfs","id":423186,"avatar_url":"https://avatars.githubusercontent.com/u/423186?","gravatar_id":"8984ef6d12ee96008c8e4b5afb53da85","url":"https://api.github.com/users/wolfs","html_url":"https://github.com/wolfs","followers_url":"https://api.github.com/users/wolfs/followers","following_url":"https://api.github.com/users/wolfs/following{/other_user}","gists_url":"https://api.github.com/users/wolfs/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfs/subscriptions","organizations_url":"https://api.github.com/users/wolfs/orgs","repos_url":"https://api.github.com/users/wolfs/repos","events_url":"https://api.github.com/users/wolfs/events{/privacy}","received_events_url":"https://api.github.com/users/wolfs/received_events","type":"User","site_admin":false},"body":"Sounds good to me.","created_at":"2014-05-17T21:40:12Z","updated_at":"2014-05-17T21:40:12Z","html_url":"https://github.com/jenkinsci/job-dsl-plugin/pull/196#discussion_r12770843","pull_request_url":"https://api.github.com/repos/jenkinsci/job-dsl-plugin/pulls/196","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/job-dsl-plugin/pulls/comments/12770843"},"html":{"href":"https://github.com/jenkinsci/job-dsl-plugin/pull/196#discussion_r12770843"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/job-dsl-plugin/pulls/196"}}}}