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

项目:vijava    文件:PrintTaskManager.java   
static void printTaskDescription(TaskDescription td)
{
  ElementDescription[] methodInfos = td.getMethodInfo();
  System.out.println("\n***Method descriptions:" + methodInfos.length);
  printElementDescriptions(methodInfos);

  System.out.println("\n***Reason descriptions:");
  TypeDescription[] reasons = td.getReason();
  for(int i=0; reasons!=null && i<reasons.length; i++)
  {
    System.out.println("\nKey:" + reasons[i].getKey());
    System.out.println("Label:" + reasons[i].getLabel());
    System.out.println("Summary:" + reasons[i].getSummary());
  }

  System.out.println("\n***Task state enum descriptions:");
  ElementDescription[] states = td.getState();
  printElementDescriptions(states);
}
项目:vijava    文件:ListAuthorization.java   
static void printDescriptions(ElementDescription[] eds)
{
  for(int i=0; eds!=null && i< eds.length; i++)
  {
    System.out.println("\nKey:" + eds[i].getKey());
    System.out.println("Label:" + eds[i].getLabel());
    System.out.println("Summary:" + eds[i].getSummary());
  }
}
项目:vijava    文件:PrintPerfMgr.java   
static void printPerfDescription(PerformanceDescription pd)
{
  ElementDescription[] eds = pd.getCounterType();
  printElementDescriptions(eds);

  ElementDescription[] statsTypes = pd.getStatsType();
  printElementDescriptions(statsTypes);
}
项目:vijava    文件:PrintPerfMgr.java   
static void printElementDescriptions(ElementDescription[] eds)
{
  for(int i=0; eds!=null && i<eds.length; i++)
  {
    printElementDescription(eds[i]);
  }
}
项目:vijava    文件:PrintAlarmManager.java   
static void printElementDescriptions(ElementDescription[] eds)
{
  for(int i=0; eds!=null && i<eds.length; i++)
  {
    printElementDescription(eds[i]);
  }
}
项目:vijava    文件:PrintTaskManager.java   
static void printElementDescriptions(ElementDescription[] eds)
{
  for(int i=0; eds!=null && i<eds.length; i++)
  {
    printElementDescription(eds[i]);
  }
}
项目:vijava    文件:PrintPerfMgr.java   
static void printElementDescription(ElementDescription ed)
{
  System.out.println("\nKey:" + ed.getKey());
  System.out.println("Label:" + ed.getLabel());
  System.out.println("Summary:" + ed.getSummary());
}
项目:vijava    文件:PrintAlarmManager.java   
static void printElementDescription(ElementDescription ed)
{
  System.out.println("\nKey:" + ed.getKey());
  System.out.println("Label:" + ed.getLabel());
  System.out.println("Summary:" + ed.getSummary());
}
项目:vijava    文件:PrintTaskManager.java   
static void printElementDescription(ElementDescription ed)
{
  System.out.println("\nKey:" + ed.getKey());
  System.out.println("Label:" + ed.getLabel());
  System.out.println("Summary:" + ed.getSummary());
}