public class LicenseComplianceInfo extends Object
| Constructor and Description |
|---|
LicenseComplianceInfo(LicenseProduct product,
LicenseMetric metric,
int licensedQty,
int qtyInUse,
boolean baseActive)
Constructor to hold license compliance info.
|
LicenseComplianceInfo(short product,
short metric,
int licensedQty,
int qtyInUse,
boolean activeBaseFound)
Constructor to hold license compliance info.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getCompLevel() |
int |
getCompPct() |
int |
getLicensedQty() |
LicenseMetric |
getMetric() |
LicenseProduct |
getProduct() |
int |
getQtyInUse() |
String |
toString() |
public LicenseComplianceInfo(LicenseProduct product, LicenseMetric metric, int licensedQty, int qtyInUse, boolean baseActive)
product - compliance info of a productmetric - compliance info of a product metriclicensedQty - the quantity licensed for a product and metricqtyInUse - the actual metric quantity is in usebaseActive - is active base foundIllegalArgumentException - if licensed or in-use quantity value
is invalidNullPointerException - if product or metric types are unknownpublic LicenseComplianceInfo(short product,
short metric,
int licensedQty,
int qtyInUse,
boolean activeBaseFound)
product - compliance info of a product idmetric - compliance info of a product metric idlicensedQty - the quantity licensed for a product and metricqtyInUse - the actual metric quantity is in useactiveBaseFound - is active base license foundIllegalArgumentException - if licensed or in-use quantity value
is invalidNullPointerException - if product or metric types are unknownpublic LicenseProduct getProduct()
public LicenseMetric getMetric()
public int getLicensedQty()
public int getQtyInUse()
public float getCompLevel()
public int getCompPct()
Copyright © 2014. All Rights Reserved.