org.sonar.api.config
Class License
java.lang.Object
org.sonar.api.config.License
public final class License
- extends Object
SonarSource license. This class aims to extract metadata but not to validate or - of course -
to generate license
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
additionalProperties
public Map<String,String> additionalProperties()
- Get additional properties available on this license (like threshold conditions)
- Since:
- 3.6
getProduct
@Nullable
public String getProduct()
getOrganization
@Nullable
public String getOrganization()
getExpirationDateAsString
@Nullable
public String getExpirationDateAsString()
getExpirationDate
@Nullable
public Date getExpirationDate()
isExpired
public boolean isExpired()
getType
@Nullable
public String getType()
getServer
@Nullable
public String getServer()
readBase64
public static License readBase64(String base64)
Copyright © 2009-2013 SonarSource. All Rights Reserved.