Class AbstractProjectRequest.AbstractBuilder<B extends AbstractProjectRequest.AbstractBuilder>

java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.project.AbstractProjectRequest.AbstractBuilder<B>
Direct Known Subclasses:
ProjectCreateRequest.Builder, ProjectUpdateRequest.Builder
Enclosing class:
AbstractProjectRequest

public abstract static class AbstractProjectRequest.AbstractBuilder<B extends AbstractProjectRequest.AbstractBuilder> extends BuilderSupport
  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder()
    • AbstractBuilder

      protected AbstractBuilder(@Nonnull Project project)
  • Method Details

    • description

      @Nonnull public B description(@Nullable String value)
    • key

      @Nonnull public B key(@Nonnull String value)
    • name

      @Nonnull public B name(@Nonnull String value)
    • publiclyAccessible

      @Nonnull public B publiclyAccessible(boolean value)
      Parameters:
      value - whether the repository will be publicly accessible or not.
      Returns:
      this
    • self

      @Nonnull protected abstract B self()