@JsonSurrogate public class

RestRepositoryHook

extends RestMapEntity
implements RepositoryHook
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ java.util.HashMap<K, V>
       ↳ java.util.LinkedHashMap<K, V>
         ↳ com.atlassian.bitbucket.rest.RestMapEntity
           ↳ com.atlassian.bitbucket.rest.hook.repository.RestRepositoryHook

Summary

Fields
public static final RestRepositoryHook EXAMPLE
public static final RestPage<RestRepositoryHook> PAGE_EXAMPLE
public static final Function<RepositoryHookRestRepositoryHook> REST_TRANSFORM
Public Constructors
RestRepositoryHook(RestRepositoryHook.RestRepositoryHookDetails details, boolean isEnabled, boolean configured, RestScope scope)
@Deprecated RestRepositoryHook(RestRepositoryHook.RestRepositoryHookDetails details, boolean isEnabled, boolean configured)
This constructor is deprecated. in 5.2 for removal in 6.0. Use RestRepositoryHook(RestRepositoryHookDetails, boolean, boolean, RestScope) instead
RestRepositoryHook(RepositoryHook descriptor)
Public Methods
@Nonnull RepositoryHookDetails getDetails()
@Nonnull RestScope getScope()
boolean isConfigured()
boolean isEnabled()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.rest.RestMapEntity
From class java.util.LinkedHashMap
From class java.util.HashMap
From class java.util.AbstractMap
From class java.lang.Object
From interface com.atlassian.bitbucket.hook.repository.RepositoryHook
From interface java.util.Map

Fields

public static final RestRepositoryHook EXAMPLE

public static final RestPage<RestRepositoryHook> PAGE_EXAMPLE

public static final Function<RepositoryHookRestRepositoryHook> REST_TRANSFORM

Public Constructors

public RestRepositoryHook (RestRepositoryHook.RestRepositoryHookDetails details, boolean isEnabled, boolean configured, RestScope scope)

@Deprecated public RestRepositoryHook (RestRepositoryHook.RestRepositoryHookDetails details, boolean isEnabled, boolean configured)

This constructor is deprecated.
in 5.2 for removal in 6.0. Use RestRepositoryHook(RestRepositoryHookDetails, boolean, boolean, RestScope) instead

public RestRepositoryHook (RepositoryHook descriptor)

Public Methods

@Nonnull public RepositoryHookDetails getDetails ()

@Nonnull public RestScope getScope ()

public boolean isConfigured ()

public boolean isEnabled ()