Class ScheduleFollow
java.lang.Object
com.gentics.contentnode.rest.model.scheduler.ScheduleFollow
Definition for follow up execution.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the set of schedule IDs after which the associated schedule should be executed.boolean
Whether the associated schedule should only be executed if the followed schedules were executed successfully.setOnlyAfterSuccess
(boolean onlyAfterSuccess) Set whether the associated schedule should only be executed if the followed schedules were executed successfully.setScheduleId
(Set<Integer> scheduleId) Set the IDs after which the associated schedule should be executed.
-
Constructor Details
-
ScheduleFollow
public ScheduleFollow()
-
-
Method Details
-
getScheduleId
Get the set of schedule IDs after which the associated schedule should be executed.- Returns:
- Set of followed schedule IDs.
-
setScheduleId
Set the IDs after which the associated schedule should be executed.- Parameters:
scheduleId
- Set of followed IDs.- Returns:
- fluent API
-
isOnlyAfterSuccess
public boolean isOnlyAfterSuccess()Whether the associated schedule should only be executed if the followed schedules were executed successfully.- Returns:
- Whether the associated schedule should only be executed if the followed schedules were executed successfully.
-
setOnlyAfterSuccess
Set whether the associated schedule should only be executed if the followed schedules were executed successfully.- Parameters:
onlyAfterSuccess
- Whether the associated schedule should only be executed if the followed schedules were executed successfully.- Returns:
- fluent API
-
equals
-