Examples of OnceTaskScheduler


Examples of com.vmware.vim25.OnceTaskScheduler

    action.setName("PowerOffVM_Task");
    action.setArgument(new MethodActionArgument[] { });

    // specify the schedule
    runTime.add(Calendar.MINUTE, 01);
    OnceTaskScheduler scheduler = new OnceTaskScheduler();
    scheduler.setRunAt(runTime);
   
    // create a spec for the scheduled task
    ScheduledTaskSpec scheduleSpec = new ScheduledTaskSpec();
    scheduleSpec.setName(taskName);
    scheduleSpec.setDescription("PowerOff VM in 1 minutes");
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.