Package | Description |
---|---|
com.atlassian.bitbucket.hook.script |
Modifier and Type | Method and Description |
---|---|
HookScript |
HookScriptService.create(HookScriptCreateRequest request)
Creates a new hook script.
|
HookScript |
HookScriptService.getById(long scriptId)
|
HookScript |
HookScriptEvent.getHookScript() |
HookScript |
HookScriptConfig.getScript() |
HookScript |
HookScriptUpdateRequest.getScript() |
HookScript |
HookScriptRemoveConfigurationRequest.getScript() |
HookScript |
HookScriptSetConfigurationRequest.getScript() |
HookScript |
HookScriptService.update(HookScriptUpdateRequest request)
Updates a hook script.
|
Modifier and Type | Method and Description |
---|---|
Optional<HookScript> |
HookScriptService.findById(long scriptId)
|
Page<HookScript> |
HookScriptService.findByPluginKey(String pluginKey,
PageRequest pageRequest)
Finds a page of hook scripts which were created by the app with the specified plugin key.
|
Modifier and Type | Method and Description |
---|---|
void |
HookScriptService.delete(HookScript script)
Deletes the specified hook script, and removes any configuration which has been applied.
|
InputSupplier<InputStream> |
HookScriptService.read(HookScript script)
Returns an
InputSupplier which can be used to open an InputStream to read the current
contents for the specified hook script. |
Constructor and Description |
---|
Builder(HookScript script) |
Builder(HookScript script,
Scope scope) |
Builder(HookScript script,
Scope scope) |
HookScriptConfigurationEvent(Object source,
HookScript hookScript,
Scope scope) |
HookScriptConfigurationRemovedEvent(Object source,
HookScript hookScript,
Scope scope) |
HookScriptCreatedEvent(Object source,
HookScript hookScript) |
HookScriptDeletedEvent(Object source,
HookScript hookScript) |
HookScriptEvent(Object source,
HookScript hookScript) |
HookScriptUpdatedEvent(Object source,
HookScript hookScript) |
Copyright © 2019 Atlassian. All rights reserved.