public abstract class

AbstractRepositoryRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.repository.AbstractRepositoryRequest
Known Direct Subclasses

Class Overview

Base class for Repository-related request classes.

Summary

Nested Classes
class AbstractRepositoryRequest.AbstractBuilder<B extends AbstractBuilder<B>> Base class for creating builders for repository-related requests. 
Protected Constructors
@Deprecated AbstractRepositoryRequest(String name, boolean forkable, boolean publiclyAccessible)
This constructor is deprecated. for removal in 7.0 without replacement
AbstractRepositoryRequest(AbstractBuilder builder)
Public Methods
@Nullable String getDescription()
The description for the repository.
@Nonnull String getName()
The name for the repository.
boolean isForkable()
Retrieves a flag indicating whether the repository should be forkable.
boolean isPublic()
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

@Deprecated protected AbstractRepositoryRequest (String name, boolean forkable, boolean publiclyAccessible)

This constructor is deprecated.
for removal in 7.0 without replacement

protected AbstractRepositoryRequest (AbstractBuilder builder)

Public Methods

@Nullable public String getDescription ()

The description for the repository. How this is used depends on the request type:

Returns
  • the description for the repository

@Nonnull public String getName ()

The name for the repository. How this is used depends on the request type:

The name provided is used to generate the repository's slug regardless of the request type.

Returns
  • the name for the repository

public boolean isForkable ()

Retrieves a flag indicating whether the repository should be forkable. How this is used depends on the request type:

Returns
  • true if the repository should be forkable; otherwise, false to disable forking

public boolean isPublic ()

Returns
  • true if the project will be made publicly accessible, false otherwise.