com.atlassian.jira.studio
Class MockStudioHooks
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockStudioHooks
public MockStudioHooks()
MockStudioHooks
public MockStudioHooks(StudioLicenseHooks hooks)
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-2012 Atlassian. All Rights Reserved.