Class GHCheckRunBuilder

    • Field Detail

      • requester

        protected final org.kohsuke.github.Requester requester
        The requester.
    • Method Detail

      • withDetailsURL

        @NonNull
        public GHCheckRunBuilder withDetailsURL​(@CheckForNull
                                                String detailsURL)
        With details URL.
        Parameters:
        detailsURL - the details URL
        Returns:
        the GH check run builder
      • withExternalID

        @NonNull
        public GHCheckRunBuilder withExternalID​(@CheckForNull
                                                String externalID)
        With external ID.
        Parameters:
        externalID - the external ID
        Returns:
        the GH check run builder
      • withStatus

        @NonNull
        public GHCheckRunBuilder withStatus​(@CheckForNull
                                            GHCheckRun.Status status)
        With status.
        Parameters:
        status - the status
        Returns:
        the GH check run builder
      • withConclusion

        @NonNull
        public GHCheckRunBuilder withConclusion​(@CheckForNull
                                                GHCheckRun.Conclusion conclusion)
        With conclusion.
        Parameters:
        conclusion - the conclusion
        Returns:
        the GH check run builder
      • withStartedAt

        @NonNull
        public GHCheckRunBuilder withStartedAt​(@CheckForNull
                                               Date startedAt)
        With started at.
        Parameters:
        startedAt - the started at
        Returns:
        the GH check run builder
      • withCompletedAt

        @NonNull
        public GHCheckRunBuilder withCompletedAt​(@CheckForNull
                                                 Date completedAt)
        With completed at.
        Parameters:
        completedAt - the completed at
        Returns:
        the GH check run builder
      • create

        @NonNull
        public GHCheckRun create()
                          throws IOException
        Actually creates the check run. (If more than fifty annotations were requested, this is done in batches.)
        Returns:
        the resulting run
        Throws:
        IOException - for the usual reasons