Class AbstractRepositoryRequest

java.lang.Object
com.atlassian.bitbucket.repository.AbstractRepositoryRequest
Direct Known Subclasses:
RepositoryCreateRequest, RepositoryForkRequest, RepositoryUpdateRequest

public abstract class AbstractRepositoryRequest extends Object
Base class for Repository-related request classes.
  • Constructor Details

  • Method Details

    • getDescription

      @Nullable public String getDescription()
      The description for the repository. How this is used depends on the request type:
      Returns:
      the description for the repository
      Since:
      6.2
    • getName

      @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
    • isForkable

      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
    • isPublic

      public boolean isPublic()
      Returns:
      true if the project will be made publicly accessible, false otherwise.