com.atlassian.jira.license
Class DefaultLicenseDetailsFactory

java.lang.Object
  extended by com.atlassian.jira.license.DefaultLicenseDetailsFactory
All Implemented Interfaces:
LicenseDetailsFactory

public final class DefaultLicenseDetailsFactory
extends Object
implements LicenseDetailsFactory

Constructs LicenseDetails objects

Since:
v3.13

Constructor Summary
DefaultLicenseDetailsFactory(ApplicationProperties applicationProperties)
           
 
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
 

Constructor Detail

DefaultLicenseDetailsFactory

public DefaultLicenseDetailsFactory(ApplicationProperties applicationProperties)
Method Detail

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-2008 Atlassian. All Rights Reserved.