Examples of VcTask


Examples of com.vmware.aurora.vc.VcTask

      private final TaskInfo.State state;

      TaskFinishedEvent(ManagedObjectReference taskMoRef, TaskInfo.State state) {
         this.taskMoRef = taskMoRef;
         this.state = state;
         VcTask vcTask = taskMgr.getPendingTask(taskMoRef);
         if (vcTask != null) {
            setChainId(vcTask.getEventChainId());
         }
      }
View Full Code Here

Examples of com.vmware.aurora.vc.VcTask

      private Integer progress;

      TaskUpdateProgressEvent(ManagedObjectReference taskMoRef, Integer progress) {
         this.taskMoRef = taskMoRef;
         this.progress = progress;
         VcTask vcTask = taskMgr.getPendingTask(taskMoRef);
         if (vcTask != null) {
            setChainId(vcTask.getEventChainId());
         }
      }
View Full Code Here

Examples of com.vmware.aurora.vc.VcTask

               return true;
            }

            @Override
            protected Void body() throws Exception {
               VcTask task = VcContext.getTaskMgr().execute(new IVcTaskBody() {
                  public VcTask body() throws Exception {
                     return new VcTask(TaskType.DeleteFolder, folder.destroy(), null);
                  }
               });
               task.waitForCompletion();
               return null;
            }
         });
      }
      return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.