Class BitbucketClient

    • Constructor Detail

      • BitbucketClient

        public BitbucketClient()
        Create a BitbucketClient inferring endpoint and authentication from environment and system properties.
      • BitbucketClient

        public BitbucketClient​(@Nullable
                               String endPoint,
                               @Nullable
                               BitbucketAuthentication authentication,
                               @Nullable
                               Properties overrides,
                               @Nullable
                               List<Module> modules)
        Create an BitbucketClient. If any of the passed in variables are null we will query System Properties and Environment Variables, in order, to search for values that may be set in a devops/CI fashion. The only difference is the `overrides` which gets merged, but takes precedence, with those System Properties and Environment Variables found.
        Parameters:
        endPoint - URL of Bitbucket instance.
        authentication - authentication used to connect to Bitbucket instance.
        overrides - jclouds Properties to override defaults when creating a new BitbucketApi.
        modules - a list of modules to be passed to the Contextbuilder, e.g. for logging.