Class SimpleMinimalRef.AbstractMinimalRefBuilder<B extends SimpleMinimalRef.AbstractMinimalRefBuilder<B,R>,R extends MinimalRef>

java.lang.Object
com.atlassian.bitbucket.repository.SimpleMinimalRef.AbstractMinimalRefBuilder<B,R>
Direct Known Subclasses:
SimpleMinimalRef.Builder, SimpleMinimalRepositoryRef.AbstractBuilder
Enclosing class:
SimpleMinimalRef

protected abstract static class SimpleMinimalRef.AbstractMinimalRefBuilder<B extends SimpleMinimalRef.AbstractMinimalRefBuilder<B,R>,R extends MinimalRef> extends Object
  • Constructor Details

    • AbstractMinimalRefBuilder

      protected AbstractMinimalRefBuilder()
    • AbstractMinimalRefBuilder

      protected AbstractMinimalRefBuilder(@Nonnull R ref)
  • Method Details

    • build

      @Nonnull public abstract R build()
      Builds a ref from the assembled components.
      Returns:
      the built ref
    • displayId

      @Nonnull public B displayId(@Nullable String value)
    • id

      @Nonnull public B id(@Nullable String value)
    • self

      @Nonnull protected abstract B self()