org.rhq.enterprise.server.license
Class License

java.lang.Object
  extended by org.rhq.enterprise.server.license.License
All Implemented Interfaces:
java.io.Serializable

public final class License
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int FEATURE_ALL
           
static int FEATURE_BASIC
           
static int FEATURE_MONITOR
           
 
Constructor Summary
protected License()
           
 
Method Summary
protected  void addPlugin(java.lang.String plugin)
           
protected  void addServerIp(int count, java.lang.String addr)
           
 boolean equals(java.lang.Object o)
           
 boolean getIsAnyIpOk()
           
 boolean getIsAnyPluginOk()
           
 boolean getIsPerpetualLicense()
           
 java.lang.String getLicenseeEmail()
           
 java.lang.String getLicenseeName()
           
 java.lang.String getLicenseePhone()
           
 long getLicenseExpiration()
           
protected  java.lang.String getMasterKey()
           
 int getPlatformLimit()
           
 boolean getPlatformsUnlimited()
           
 java.util.List getPlugins()
           
 java.util.List getServerIps()
           
 int getSupportLevel()
           
protected  java.lang.String getVersion()
           
 boolean isTrial()
           
protected  void setLicenseeEmail(java.lang.String e)
           
protected  void setLicenseeName(java.lang.String n)
           
protected  void setLicenseePhone(java.lang.String p)
           
protected  void setMasterKey(java.lang.String m)
           
protected  void setPlatformLimit(int l)
           
protected  void setSupportLevel(int level)
           
protected  void setTrial(boolean trial)
           
protected  void setVersion(java.lang.String v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FEATURE_BASIC

public static final int FEATURE_BASIC
See Also:
Constant Field Values

FEATURE_MONITOR

public static final int FEATURE_MONITOR
See Also:
Constant Field Values

FEATURE_ALL

public static final int FEATURE_ALL
See Also:
Constant Field Values
Constructor Detail

License

protected License()
Method Detail

getMasterKey

protected java.lang.String getMasterKey()

setMasterKey

protected void setMasterKey(java.lang.String m)

getVersion

protected java.lang.String getVersion()

setVersion

protected void setVersion(java.lang.String v)

getLicenseeName

public java.lang.String getLicenseeName()

setLicenseeName

protected void setLicenseeName(java.lang.String n)

getLicenseeEmail

public java.lang.String getLicenseeEmail()

setLicenseeEmail

protected void setLicenseeEmail(java.lang.String e)

getLicenseePhone

public java.lang.String getLicenseePhone()

setLicenseePhone

protected void setLicenseePhone(java.lang.String p)

getIsPerpetualLicense

public boolean getIsPerpetualLicense()

getLicenseExpiration

public long getLicenseExpiration()

setPlatformLimit

protected void setPlatformLimit(int l)

getPlatformsUnlimited

public boolean getPlatformsUnlimited()

getPlatformLimit

public int getPlatformLimit()

getSupportLevel

public int getSupportLevel()

setSupportLevel

protected void setSupportLevel(int level)

addServerIp

protected void addServerIp(int count,
                           java.lang.String addr)

getIsAnyIpOk

public boolean getIsAnyIpOk()

getServerIps

public java.util.List getServerIps()

getIsAnyPluginOk

public boolean getIsAnyPluginOk()

addPlugin

protected void addPlugin(java.lang.String plugin)

getPlugins

public java.util.List getPlugins()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isTrial

public boolean isTrial()

setTrial

protected void setTrial(boolean trial)


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.