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

项目:vijava    文件:PrintStorageSystem.java   
static void printScsiLuns(ScsiLun[] sls)
{
  for(int i=0; sls!=null && i<sls.length; i++)
  {
    System.out.println("UUID:" + sls[i].getUuid());
    System.out.println("CanonicalName:" 
        + sls[i].getCanonicalName());
    System.out.println("LunType:" + sls[i].getLunType());
    System.out.print("OperationalState:");
    String[] states = sls[i].getOperationalState();
    for(int j=0; states!=null && j<states.length; j++)
    {
      System.out.print(states[j] + " ");
    }
    System.out.println("\nSCSI Level:" 
        + sls[i].getScsiLevel());
    System.out.println("Vendor:" + sls[i].getVendor());
  }
}