|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.UpdateInstaller.EnrollLUMLicense
public class EnrollLUMLicense
EnrollLUMLicense is the class that handles enrolling a LUM license.
| Field Summary |
|---|
| Fields inherited from interface com.ibm.LUMClient.LicenseConstants |
|---|
ANY, CapacityTypes, CONC_NODELOCK, CONC_OFFLINE, CONCURRENT, CU_INTEL_PROC, CU_INTEL_PROC64, CU_PA_RISC_PROC, CU_PHYSICAL_DISKS, CU_PHYSICAL_MEMORY, CU_PROCESSORS_CONFIGURED, CU_PROCESSORS_ONLINE, CU_RISC_PROC, CU_RISC_PROC64, CU_SPARC_PROC, CU_VALUE_UNITS, IBM_Vendor_ID, LCT_ATTR_BUNDLE, LCT_ATTR_CAPACITY_LICENSE, LCT_ATTR_CUSTOM1, LCT_ATTR_CUSTOM2, LCT_ATTR_CUSTOM3, LCT_ATTR_DIST_LICENSE, LCT_ATTR_HAL_LICENSE, LCT_ATTR_LEVEL1_LICENSE, LCT_ATTR_NO_ATTRIBUTE, LCT_ATTR_PROGRAM_SPECIFIC, LCT_ATTR_SOFT_STOP_LICENSE, LCT_ATTR_TRY_AND_BUY_LICENSE, LCT_ATTR_UPGRADE_LICENSE, LIC_NOT_FOUND, LICENSEATTRIBUTES, LICENSETYPE, NAMED, NETLS_GET_FLAG, NETLS_NOTUSED, NETLS_SET_FLAG, NLS_EXT_INFO_LEN, NO_SUCH_PRODUCT, NOT_ENOUGH_LICS, NOT_LICS, PARAMETERS, PAST_EXP_DATE, PER_SEAT, PER_SERVER, RESERVABLE, RESERVED, SET_GROUP, SET_NODEFILE, SET_TARGET_SOURCE, SET_TIMEOUT_FACTOR, SIMPLE_NODELOCKED, STATUS_NOT_OK, STATUS_OK, TARGETTYPE, TEST_VENDOR_ID, USE_ONCE, USE_ONCE_NODELOCKED |
| Constructor Summary | |
|---|---|
EnrollLUMLicense(String nodelockFilePath,
String certificate,
String type,
boolean enrollingBoth)
Constructor for EnrollLUMLicense. |
|
| Method Summary | |
|---|---|
void |
enrollFullLicense(String nodelockFilePath,
String certificate)
Enroll a full license |
void |
enrollTryAndBuy(String nodelockFilePath,
String certificate,
boolean ignoreEXP)
Enroll a trial license. |
String |
extractPwdFromCert(File certFile)
Extract the password from the full license file |
int |
getRC()
Return the value of the return code variable |
void |
replaceTryAndBuy(File nodelockFilePath,
String password)
Upgrade from trial to full |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnrollLUMLicense(String nodelockFilePath,
String certificate,
String type,
boolean enrollingBoth)
nodelockFilePath - Location of the nodelock file. For TDI, this should be certificate - The text file that represents the trial or full certificatetype - License type: tryandbuy or full| Method Detail |
|---|
public int getRC()
public void enrollTryAndBuy(String nodelockFilePath,
String certificate,
boolean ignoreEXP)
nodelockFilePath - Location of the nodelock file. For TDI, this should be certificate - The text file that represents the trial or full certificate
public void enrollFullLicense(String nodelockFilePath,
String certificate)
nodelockFilePath - Location of the nodelock file. For TDI, this should be certificate - The text file that represents the trial or full certificate
public void replaceTryAndBuy(File nodelockFilePath,
String password)
nodelockFilePath - Location of the nodelock file. For TDI, this should be password - public String extractPwdFromCert(File certFile)
certFile - Full license file
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||