@Test void testGetRepository2() { BitbucketClient bitbucket = new BitbucketClient(); BitbucketRepository repository1 = bitbucket.getRepository(REPOSITORY_OWNER_NAME, REPOSITORY_NAME); System.out.println("Got repository " + repository1); assertEquals(REPOSITORY_NAME, repository1.getName()); assertEquals(REPOSITORY_FULL_NAME, repository1.getFullName()); }
@Override public final BitbucketRepository getRepository(BitbucketAccount owner, String name) { return getRepository("{" + owner.getUuid().toString() + "}", name); }
BitbucketClient implements Bitbucket, Serializable { @Override public final BitbucketRepository getRepository(BitbucketAccount owner, String name) { return getRepository("{" + owner.getUuid().toString() + "}", name); } }
BitbucketClient implements Bitbucket, Serializable { @Override public final BitbucketRepository getRepository(BitbucketAccount owner, String name) { return getRepository("{" + owner.getUuid().toString() + "}", name); } BitbucketClient(); }
BitbucketClient implements Bitbucket, Serializable { @Override public final BitbucketRepository getRepository(BitbucketAccount owner, String name) { return getRepository("{" + owner.getUuid().toString() + "}", name); } BitbucketClient(); final OAuth2Authenticator getOAuth2Authenticator(); final void loginWithAuthorizationCode(
        final String code, final URI redirectionUri); final void login(final String username, final String password); final void logout(); final T get(final URI base, final Class<T> runtimeType,
        final MediaType... mediaTypes); final T get(URI base, final String path,
        Map<String, Object> templateValues, final Class<T> runtimeType,
        final MediaType... mediaTypes); final T get(URI base, final UnaryOperator<WebTarget> modifier,
        final Class<T> runtimeType, MediaType... mediaTypes); final List<T> getList(URI base,
        final UnaryOperator<WebTarget> modifier, final Class<? extends T> type); final JsonObject post(final URI uri, final Entity<?> entity); @Override final BitbucketUserAccount getUserAccount(final String name); @Override final BitbucketAccount getTeamAccount(final String name); @Override final BitbucketRepository getRepository(BitbucketAccount owner,
        String name); @Override final BitbucketRepository getRepository(
        final String ownerName, final String name); @Override final BitbucketRepository getRepository(final String fullName); @Override final BitbucketPullRequest getPullRequest(final String fullName,
        final int id); @Override final BitbucketIssue getIssue(final String fullName, final int id); @Override final Collection<BitbucketRepository> repositories(
        final String ownerName); @Override final List<BitbucketIssue> getIssues(final String fullName,
        final String filter); }
BitbucketClient implements Bitbucket, Serializable { @Override public final BitbucketRepository getRepository(BitbucketAccount owner, String name) { return getRepository("{" + owner.getUuid().toString() + "}", name); } BitbucketClient(); final OAuth2Authenticator getOAuth2Authenticator(); final void loginWithAuthorizationCode(
        final String code, final URI redirectionUri); final void login(final String username, final String password); final void logout(); final T get(final URI base, final Class<T> runtimeType,
        final MediaType... mediaTypes); final T get(URI base, final String path,
        Map<String, Object> templateValues, final Class<T> runtimeType,
        final MediaType... mediaTypes); final T get(URI base, final UnaryOperator<WebTarget> modifier,
        final Class<T> runtimeType, MediaType... mediaTypes); final List<T> getList(URI base,
        final UnaryOperator<WebTarget> modifier, final Class<? extends T> type); final JsonObject post(final URI uri, final Entity<?> entity); @Override final BitbucketUserAccount getUserAccount(final String name); @Override final BitbucketAccount getTeamAccount(final String name); @Override final BitbucketRepository getRepository(BitbucketAccount owner,
        String name); @Override final BitbucketRepository getRepository(
        final String ownerName, final String name); @Override final BitbucketRepository getRepository(final String fullName); @Override final BitbucketPullRequest getPullRequest(final String fullName,
        final int id); @Override final BitbucketIssue getIssue(final String fullName, final int id); @Override final Collection<BitbucketRepository> repositories(
        final String ownerName); @Override final List<BitbucketIssue> getIssues(final String fullName,
        final String filter); static final URI AUTHORIZATION_ENDPOINT_URI; static final URI TOKEN_ENDPOINT_URI; static final Pattern REPOSITORY_FULL_NAME_REGEXP; }