public static class TriggerDefinitionImpl.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TriggerDefinition |
build() |
TriggerDefinitionImpl.Builder |
configuration(Map<String,String> configuration) |
TriggerDefinitionImpl.Builder |
enabled(boolean enabled) |
TriggerDefinitionImpl.Builder |
fromDescriptor(TriggerModuleDescriptor moduleDescriptor) |
TriggerDefinitionImpl.Builder |
fromExisting(TriggerDefinition triggerDefinition) |
TriggerDefinitionImpl.Builder |
id(long id) |
TriggerDefinitionImpl.Builder |
name(String name) |
TriggerDefinitionImpl.Builder |
pluginKey(String pluginKey) |
TriggerDefinitionImpl.Builder |
triggerConditionsConfiguration(Map<String,String> triggerConditionsConfiguration) |
TriggerDefinitionImpl.Builder |
triggeringRepositories(Set<Long> triggeringRepositories) |
TriggerDefinitionImpl.Builder |
userDescription(String userDescription) |
public TriggerDefinitionImpl.Builder fromDescriptor(@NotNull TriggerModuleDescriptor moduleDescriptor)
public TriggerDefinitionImpl.Builder fromExisting(@NotNull TriggerDefinition triggerDefinition)
public TriggerDefinitionImpl.Builder id(long id)
public TriggerDefinitionImpl.Builder name(@NotNull String name)
public TriggerDefinitionImpl.Builder pluginKey(@NotNull String pluginKey)
public TriggerDefinitionImpl.Builder userDescription(@NotNull String userDescription)
public TriggerDefinitionImpl.Builder triggeringRepositories(@Nullable Set<Long> triggeringRepositories)
public TriggerDefinitionImpl.Builder configuration(@NotNull Map<String,String> configuration)
public TriggerDefinitionImpl.Builder triggerConditionsConfiguration(@Nullable Map<String,String> triggerConditionsConfiguration)
public TriggerDefinitionImpl.Builder enabled(boolean enabled)
public TriggerDefinition build()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.