Package com.atlassian.bamboo.trigger
Class TriggerDefinitionImpl.Builder
java.lang.Object
com.atlassian.bamboo.trigger.TriggerDefinitionImpl.Builder
- Enclosing class:
- TriggerDefinitionImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
configuration
(@NotNull Map<String, String> configuration) enabled
(boolean enabled) fromDescriptor
(@NotNull TriggerModuleDescriptor moduleDescriptor) fromExisting
(@NotNull TriggerDefinition triggerDefinition) id
(long id) triggerConditionsConfiguration
(@Nullable Map<String, String> triggerConditionsConfiguration) triggeringRepositories
(@Nullable Set<Long> triggeringRepositories) userDescription
(@NotNull String userDescription)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fromDescriptor
public TriggerDefinitionImpl.Builder fromDescriptor(@NotNull @NotNull TriggerModuleDescriptor moduleDescriptor) -
fromExisting
public TriggerDefinitionImpl.Builder fromExisting(@NotNull @NotNull TriggerDefinition triggerDefinition) -
id
-
name
-
pluginKey
-
userDescription
-
triggeringRepositories
public TriggerDefinitionImpl.Builder triggeringRepositories(@Nullable @Nullable Set<Long> triggeringRepositories) -
configuration
public TriggerDefinitionImpl.Builder configuration(@NotNull @NotNull Map<String, String> configuration) -
triggerConditionsConfiguration
public TriggerDefinitionImpl.Builder triggerConditionsConfiguration(@Nullable @Nullable Map<String, String> triggerConditionsConfiguration) -
enabled
-
build
-