public class

MockStudioHooks

extends Object
implements StudioHooks
java.lang.Object
   ↳ com.atlassian.jira.studio.MockStudioHooks

Class Overview

Simple implementation of StudioHooks for tests.

Summary

Nested Classes
class MockStudioHooks.MockStudioLicenseHooks  
Public Constructors
MockStudioHooks()
MockStudioHooks(StudioLicenseHooks hooks)
Public Methods
@Nonnull StudioLicenseHooks getLicenseHooks()
Called by JIRA to get an instance of StudioLicenseHooks that it will callback when making some licensing decisions.
MockStudioHooks setLicenseHooks(StudioLicenseHooks licenseHooks)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.studio.StudioHooks

Public Constructors

public MockStudioHooks ()

public MockStudioHooks (StudioLicenseHooks hooks)

Public Methods

@Nonnull public StudioLicenseHooks getLicenseHooks ()

Called by JIRA to get an instance of StudioLicenseHooks that it will callback when making some licensing decisions. See StudioLicenseHooks for more details.

Returns
  • an instance of StudioLicenseHooks that JIRA will use to make some licensing decisions.

public MockStudioHooks setLicenseHooks (StudioLicenseHooks licenseHooks)