Package com.atlassian.bamboo.trigger
Class TriggerDefinitionImpl.Builder
- java.lang.Object
-
- com.atlassian.bamboo.trigger.TriggerDefinitionImpl.Builder
-
- Enclosing class:
- TriggerDefinitionImpl
public static class TriggerDefinitionImpl.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerDefinition
build()
TriggerDefinitionImpl.Builder
configuration(@NotNull Map<String,String> configuration)
TriggerDefinitionImpl.Builder
enabled(boolean enabled)
TriggerDefinitionImpl.Builder
fromDescriptor(@NotNull TriggerModuleDescriptor moduleDescriptor)
TriggerDefinitionImpl.Builder
fromExisting(@NotNull TriggerDefinition triggerDefinition)
TriggerDefinitionImpl.Builder
id(long id)
TriggerDefinitionImpl.Builder
name(@NotNull String name)
TriggerDefinitionImpl.Builder
pluginKey(@NotNull String pluginKey)
TriggerDefinitionImpl.Builder
triggerConditionsConfiguration(@Nullable Map<String,String> triggerConditionsConfiguration)
TriggerDefinitionImpl.Builder
triggeringRepositories(@Nullable Set<Long> triggeringRepositories)
TriggerDefinitionImpl.Builder
userDescription(@NotNull String userDescription)
-
-
-
Method Detail
-
fromDescriptor
public TriggerDefinitionImpl.Builder fromDescriptor(@NotNull @NotNull TriggerModuleDescriptor moduleDescriptor)
-
fromExisting
public TriggerDefinitionImpl.Builder fromExisting(@NotNull @NotNull TriggerDefinition triggerDefinition)
-
id
public TriggerDefinitionImpl.Builder id(long id)
-
name
public TriggerDefinitionImpl.Builder name(@NotNull @NotNull String name)
-
pluginKey
public TriggerDefinitionImpl.Builder pluginKey(@NotNull @NotNull String pluginKey)
-
userDescription
public TriggerDefinitionImpl.Builder userDescription(@NotNull @NotNull String 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
public TriggerDefinitionImpl.Builder enabled(boolean enabled)
-
build
public TriggerDefinition build()
-
-