Class PluginCrossNodesEvent.AbstractPluginEventBuilder<T extends PluginCrossNodesEvent<?>,B extends PluginCrossNodesEvent.AbstractPluginEventBuilder<T,B>>

java.lang.Object
com.atlassian.bamboo.cluster.event.plugin.PluginCrossNodesEvent.AbstractPluginEventBuilder<T,B>
Direct Known Subclasses:
DisablePluginEvent.Builder, EnablePluginEvent.Builder, InstallPluginEvent.Builder, UninstallPluginEvent.Builder, UpgradePluginEvent.Builder
Enclosing class:
PluginCrossNodesEvent<R>

public abstract static class PluginCrossNodesEvent.AbstractPluginEventBuilder<T extends PluginCrossNodesEvent<?>,B extends PluginCrossNodesEvent.AbstractPluginEventBuilder<T,B>> extends Object
  • Field Details

    • pluginKey

      protected String pluginKey
    • pluginsVersion

      protected int pluginsVersion
    • pluginName

      protected String pluginName
    • testMode

      protected TestModeEnum testMode
  • Constructor Details

    • AbstractPluginEventBuilder

      public AbstractPluginEventBuilder()
  • Method Details

    • getThis

      public abstract B getThis()
    • withPluginKey

      public B withPluginKey(String pluginKey)
    • withPluginsVersion

      public B withPluginsVersion(int pluginsVersion)
    • withPluginName

      public B withPluginName(String pluginName)
    • withTestMode

      public B withTestMode(TestModeEnum testMode)
    • build

      public T build()
    • createPluginEvent

      protected abstract T createPluginEvent(String pluginKey, int pluginsVersion, String pluginName, TestModeEnum testMode)