package

com.atlassian.bitbucket.hook.script

Interfaces

HookScript Describes a hook script. 
HookScriptConfig Configures a HookScript to run for a given scope, and defines the triggers for which it should be invoked. 
HookScriptService A service for creating, updating and configuring hook scripts
MinimalHookScript A minimal representation of a HookScript, retaining only its ID and version. 

Classes

HookScriptConfigurationEvent Base class for changing the configuration for a HookScript
HookScriptConfigurationRemovedEvent Event fired when a HookScript configuration is removed. 
HookScriptConfigurationSetEvent Event fired when a new configuration is set for a HookScript
HookScriptCreatedEvent Event fired when a new HookScript is added to the system. 
HookScriptCreateRequest  
HookScriptCreateRequest.Builder  
HookScriptDeletedEvent Event fired when a HookScript is deleted from the system. 
HookScriptEvent Base event for HookScripts
HookScriptRemoveConfigurationRequest  
HookScriptRemoveConfigurationRequest.Builder  
HookScriptSetConfigurationRequest  
HookScriptSetConfigurationRequest.Builder  
HookScriptUpdatedEvent Fired when a HookScript is updated. 
HookScriptUpdateRequest  
HookScriptUpdateRequest.Builder  

Enums

HookScriptType Denotes a HookScript's type. 

Exceptions

HookScriptException A generic base class for exceptions to be thrown when HookScriptService operations fail. 
HookScriptOutOfDateException Thrown when updating a hook script fails due to concurrent updates, or a version mismatch. 
HookScriptSizeExceededException Thrown when an app attempts to create or update a hook script with contents which exceed the configured max size
HookScriptStoreException Thrown when a hook script can't be written to or read from the backing store. 
NoSuchHookScriptException Thrown to indicate the requested hook script does not exist.