public static class HookScriptSetConfigurationRequest.Builder extends BuilderSupport
NOT_BLANK
Constructor and Description |
---|
Builder(HookScript script,
Scope scope) |
Modifier and Type | Method and Description |
---|---|
HookScriptSetConfigurationRequest |
build() |
HookScriptSetConfigurationRequest.Builder |
trigger(RepositoryHookTrigger trigger) |
HookScriptSetConfigurationRequest.Builder |
triggerId(String value) |
HookScriptSetConfigurationRequest.Builder |
triggerIds(Iterable<String> values) |
HookScriptSetConfigurationRequest.Builder |
triggerIds(String value,
String... values) |
HookScriptSetConfigurationRequest.Builder |
triggers(Iterable<RepositoryHookTrigger> values) |
HookScriptSetConfigurationRequest.Builder |
triggers(RepositoryHookTrigger value,
RepositoryHookTrigger... values) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull HookScript script, @Nonnull Scope scope)
@Nonnull public HookScriptSetConfigurationRequest build()
@Nonnull public HookScriptSetConfigurationRequest.Builder triggerId(@Nonnull String value)
@Nonnull public HookScriptSetConfigurationRequest.Builder triggerIds(@Nonnull Iterable<String> values)
@Nonnull public HookScriptSetConfigurationRequest.Builder triggerIds(@Nonnull String value, @Nonnull String... values)
@Nonnull public HookScriptSetConfigurationRequest.Builder trigger(@Nonnull RepositoryHookTrigger trigger)
@Nonnull public HookScriptSetConfigurationRequest.Builder triggers(@Nonnull Iterable<RepositoryHookTrigger> values)
@Nonnull public HookScriptSetConfigurationRequest.Builder triggers(@Nonnull RepositoryHookTrigger value, @Nonnull RepositoryHookTrigger... values)
Copyright © 2020 Atlassian. All rights reserved.