com.atlassian.extras.api
Interface AtlassianLicense


public interface AtlassianLicense

This represent a license as distributed by Atlassian. Typically such a license can contain licenses for more than one product.


Method Summary
 ProductLicense getProductLicense(Product product)
          Retrieves the license for a given product.
 java.util.Collection<ProductLicense> getProductLicenses()
          Retrieves all the product licenses associated with this license.
 

Method Detail

getProductLicenses

java.util.Collection<ProductLicense> getProductLicenses()
Retrieves all the product licenses associated with this license.

Returns:
the collection of product licenses.
Since:
2.2.0

getProductLicense

ProductLicense getProductLicense(Product product)
Retrieves the license for a given product.

Parameters:
product - the license corresponding to the given Product
Returns:
the ProductLicense for the given product, null if not license was found for this product


Copyright © 2005-2014 Atlassian. All Rights Reserved.