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

项目:vijava    文件:DrsApp.java   
static String recommendationToString(
    ClusterRecommendation rec)
{
  StringBuffer sb = new StringBuffer();
  sb.append("\nRating:" + rec.getRating());
  sb.append("\nReasonText:" + rec.getReasonText());
  sb.append("\nKey:" + rec.getKey());
  sb.append("\nTarget:" + rec.getTarget());
  sb.append("\nTime:" + new Date(
      rec.getTime().getTimeInMillis()));
  return sb.toString();
}