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
AbstractRepositoryRequest(String name, boolean forkable, boolean publiclyAccessible)
Public Methods
@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

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

Public Methods

@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.