org.sonar.api.config
Class License

java.lang.Object
  extended by 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

Method Summary
 Map<String,String> additionalProperties()
          Get additional properties available on this license (like threshold conditions)
 Date getExpirationDate()
           
 String getExpirationDateAsString()
           
 String getOrganization()
           
 String getProduct()
           
 String getServer()
           
 String getType()
           
 boolean isExpired()
           
static License readBase64(String base64)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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-2014 SonarSource. All Rights Reserved.