com.atlassian.jira.studio
Class MockStudioHooks

java.lang.Object
  extended by com.atlassian.jira.studio.MockStudioHooks
All Implemented Interfaces:
StudioHooks

public class MockStudioHooks
extends Object
implements StudioHooks

Simple implementation of StudioHooks for tests.

Since:
v4.4.2

Nested Class Summary
static class MockStudioHooks.MockStudioLicenseHooks
           
 
Constructor Summary
MockStudioHooks()
           
MockStudioHooks(StudioLicenseHooks hooks)
           
 
Method Summary
 StudioLicenseHooks getLicenseHooks()
          Called by JIRA to get an instance of StudioLicenseHooks that it will callback when making some licensing decisions.
 MockStudioHooks setLicenseHooks(StudioLicenseHooks licenseHooks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockStudioHooks

public MockStudioHooks()

MockStudioHooks

public MockStudioHooks(StudioLicenseHooks hooks)
Method Detail

setLicenseHooks

public MockStudioHooks setLicenseHooks(StudioLicenseHooks licenseHooks)

getLicenseHooks

@Nonnull
public StudioLicenseHooks getLicenseHooks()
Description copied from interface: StudioHooks
Called by JIRA to get an instance of StudioLicenseHooks that it will callback when making some licensing decisions. See StudioLicenseHooks for more details.

Specified by:
getLicenseHooks in interface StudioHooks
Returns:
an instance of StudioLicenseHooks that JIRA will use to make some licensing decisions.


Copyright © 2002-2014 Atlassian. All Rights Reserved.