Java 类com.vmware.vim25.LicenseFeatureInfo 实例源码

项目:vijava    文件:PrintLicense.java   
static void printLicenseFeatures(LicenseFeatureInfo[] fis)
{
  for(int i=0; fis!=null && i<fis.length; i++)
  {
    String prtStr =
      "\nFeatureName:" + fis[i].getFeatureName() +
      "\nCostUnit:" + fis[i].getCostUnit() +
      "\nDependentKey:";

    String[] dep = fis[i].getDependentKey();
    for(int j=0; dep!=null && j<dep.length; j++)
    {
      prtStr += dep[j] + " ";
    }

    prtStr +=  "\nEdition:" + fis[i].getEdition() + 
      "\nExpiresOn:" + fis[i].getExpiresOn() +
      "\nFeatureDescription:" 
        + fis[i].getFeatureDescription() +
      "\nKey:" + fis[i].getKey() +
      "\nSourceRestriction:" + fis[i].getSourceRestriction() +
      "\nState:" + fis[i].getState();
    System.out.println(prtStr);
  }
}
项目:jcloud-vsphere    文件:LicenseManagerApi.java   
/**
 * @deprecated in SDK4.0
 */
@Deprecated
LicenseFeatureInfo[] getFeatureInfo();
项目:jcloud-vsphere    文件:LicenseManagerApi.java   
LicenseFeatureInfo[] querySupportedFeatures(HostSystem host) throws RuntimeFault, RemoteException;