Class Schedule
- java.lang.Object
-
- com.suse.salt.netapi.calls.modules.Schedule
-
public class Schedule extends Object
salt.modules.schedule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchedule.ResultCommon result structure for scheduling functions
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocalCall<Schedule.Result>add(String name, LocalCall<?> call, LocalDateTime once, Map<String,?> metadata)Schedule a salt call for later execution on the minionstatic LocalCall<Schedule.Result>delete(String name)Delete a schedule entrystatic LocalCall<Map<String,Map<String,Object>>>list(boolean show_all)List scheduled jobs
-
-
-
Method Detail
-
delete
public static LocalCall<Schedule.Result> delete(String name)
Delete a schedule entry- Parameters:
name- job name- Returns:
- the result
-
add
public static LocalCall<Schedule.Result> add(String name, LocalCall<?> call, LocalDateTime once, Map<String,?> metadata)
Schedule a salt call for later execution on the minion- Parameters:
name- job namecall- salt call scheduleonce- when to execute it oncemetadata- additional metadata- Returns:
- call object to execute via the client
-
-