com.atlassian.jira.license
Class DefaultLicenseDetailsFactory
java.lang.Object
com.atlassian.jira.license.DefaultLicenseDetailsFactory
- All Implemented Interfaces:
- LicenseDetailsFactory
public final class DefaultLicenseDetailsFactory
- extends Object
- implements LicenseDetailsFactory
Constructs LicenseDetails
objects
- Since:
- v3.13
Method Summary |
LicenseDetails |
create(com.atlassian.license.License license)
Creates a new license details instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLicenseDetailsFactory
public DefaultLicenseDetailsFactory(ApplicationProperties applicationProperties)
create
public LicenseDetails create(com.atlassian.license.License license)
- Creates a new license details instance.
In case of null passed in as a parameter,
NullLicenseDetails.NULL_LICENSE_DETAILS
is returned
- Specified by:
create
in interface LicenseDetailsFactory
- Parameters:
license
- license to create the details for, can be null
- Returns:
- a new license details instance, never null
Copyright © 2002-2009 Atlassian. All Rights Reserved.