public static class HookScriptCreateRequest.Builder extends BuilderSupport
NOT_BLANK
Constructor and Description |
---|
Builder(String name,
String pluginKey,
HookScriptType type) |
Modifier and Type | Method and Description |
---|---|
HookScriptCreateRequest |
build() |
HookScriptCreateRequest.Builder |
content(byte[] value) |
HookScriptCreateRequest.Builder |
content(InputSupplier<InputStream> value) |
HookScriptCreateRequest.Builder |
content(String value) |
HookScriptCreateRequest.Builder |
description(String value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
@Nonnull public HookScriptCreateRequest build()
@Nonnull public HookScriptCreateRequest.Builder content(@Nonnull InputSupplier<InputStream> value)
@Nonnull public HookScriptCreateRequest.Builder content(@Nonnull String value)
@Nonnull public HookScriptCreateRequest.Builder content(@Nonnull byte[] value)
@Nonnull public HookScriptCreateRequest.Builder description(@Nullable String value)
Copyright © 2019 Atlassian. All rights reserved.