public class ProductLicenseProperties extends Object implements LicenseProperties
LicenseProperties that will look up the property in the Product namespace first and
fall back to global properties if not found.| Constructor and Description |
|---|
ProductLicenseProperties(Product product,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(String key) |
Date |
getDate(String key,
Date defaultValue) |
int |
getInt(String propertyName,
int defaultValue) |
Map<String,String> |
getPropertiesEndingWith(String ending) |
String |
getProperty(String s) |
String |
getProperty(String s,
String defaultValue) |
public ProductLicenseProperties(Product product, Properties properties)
public String getProperty(String s)
getProperty in interface LicensePropertiespublic String getProperty(String s, String defaultValue)
getProperty in interface LicensePropertiespublic int getInt(String propertyName, int defaultValue)
getInt in interface LicensePropertiespublic Date getDate(String key, Date defaultValue)
getDate in interface LicensePropertiespublic boolean getBoolean(String key)
getBoolean in interface LicensePropertiespublic Map<String,String> getPropertiesEndingWith(String ending)
getPropertiesEndingWith in interface LicensePropertiesCopyright © 2005–2021 Atlassian. All rights reserved.