Interface TriggerDefinition

All Superinterfaces:
BambooIdProvider, NameProvider, PluginKeyProvider, Serializable
All Known Implementing Classes:
TriggerDefinitionImpl

public interface TriggerDefinition extends BambooIdProvider, NameProvider, Serializable, PluginKeyProvider
Generic trigger configuration.
Since:
5.8
  • Method Details

    • getUserDescription

      @Nullable @Nullable String getUserDescription()
    • getConfiguration

      @NotNull @NotNull Map<String,String> getConfiguration()
    • getTriggeringRepositories

      @NotNull @NotNull Set<Long> getTriggeringRepositories()
      If trigger checks if repositories changed in order to decide weather build should be run, this method returns ids of the repositories that are checked. Otherwise it should return empty set. Applies to plans only.
    • getTriggerConditionsConfiguration

      @NotNull @NotNull Map<String,String> getTriggerConditionsConfiguration()
      Configuration of BuildTriggerCondition plugins related with this trigger. Applies to plans only.
      Returns:
    • isEnabled

      boolean isEnabled()
      Returns:
      true iff this trigger is active