本文整理汇总了Java中com.vmware.vim25.LicenseFeatureInfo类的典型用法代码示例。如果您正苦于以下问题:Java LicenseFeatureInfo类的具体用法?Java LicenseFeatureInfo怎么用?Java LicenseFeatureInfo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LicenseFeatureInfo类属于com.vmware.vim25包,在下文中一共展示了LicenseFeatureInfo类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: printLicenseFeatures
import com.vmware.vim25.LicenseFeatureInfo; //导入依赖的package包/类
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);
}
}
示例2: getFeatureInfo
import com.vmware.vim25.LicenseFeatureInfo; //导入依赖的package包/类
/**
* @deprecated in SDK4.0
*/
@Deprecated
LicenseFeatureInfo[] getFeatureInfo();
示例3: querySupportedFeatures
import com.vmware.vim25.LicenseFeatureInfo; //导入依赖的package包/类
LicenseFeatureInfo[] querySupportedFeatures(HostSystem host) throws RuntimeFault, RemoteException;