Class AbstractRepositoryMirrorEvent.Builder<B extends AbstractRepositoryMirrorEvent.Builder,T extends AbstractRepositoryMirrorEvent>

java.lang.Object
com.atlassian.bitbucket.event.mirror.AbstractRepositoryMirrorEvent.Builder<B,T>
Direct Known Subclasses:
RepositoryMirrorSynchronizationFailedEvent.Builder, RepositoryMirrorSynchronizedEvent.Builder
Enclosing class:
AbstractRepositoryMirrorEvent

protected abstract static class AbstractRepositoryMirrorEvent.Builder<B extends AbstractRepositoryMirrorEvent.Builder,T extends AbstractRepositoryMirrorEvent> extends Object
  • Constructor Details

    • Builder

      protected Builder()
  • Method Details

    • build

      @Nonnull public abstract T build()
    • mirrorServerId

      @Nonnull public B mirrorServerId(@Nonnull String value)
    • mirrorServerName

      @Nonnull public B mirrorServerName(@Nonnull String value)
    • repository

      @Nonnull public B repository(@Nonnull Repository value)
    • source

      @Nonnull public B source(@Nonnull Object value)
    • self

      protected B self()
    • validate

      protected void validate()