Class BitbucketClientBranch

    • Constructor Detail

      • BitbucketClientBranch

        public BitbucketClientBranch​(JsonObject jsonObject)
        Initializes the object.
        Parameters:
        jsonObject - a JSON object
      • BitbucketClientBranch

        public BitbucketClientBranch​(JsonObject jsonObject,
                                     BitbucketClient bitbucketClient)
        Initializes the object with a Bitbucket API client.
        Parameters:
        jsonObject - a JSON object
        bitbucketClient - a Bitbucket API client
    • Method Detail

      • parseCommits

        protected static List<BitbucketClientCommit> parseCommits​(JsonArray commitsArray)
        Parses a JSON array for commits.
        Parameters:
        commitsArray - JSON array of commits
        Returns:
        list of commits