Class ScheduleFollow
- java.lang.Object
-
- com.gentics.contentnode.rest.model.scheduler.ScheduleFollow
-
public class ScheduleFollow extends Object
Definition for follow up execution.
-
-
Constructor Summary
Constructors Constructor Description ScheduleFollow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
@NotNull Set<Integer>
getScheduleId()
Get the set of schedule IDs after which the associated schedule should be executed.boolean
isOnlyAfterSuccess()
Whether the associated schedule should only be executed if the followed schedules were executed successfully.ScheduleFollow
setOnlyAfterSuccess(boolean onlyAfterSuccess)
Set whether the associated schedule should only be executed if the followed schedules were executed successfully.ScheduleFollow
setScheduleId(Set<Integer> scheduleId)
Set the IDs after which the associated schedule should be executed.
-
-
-
Method Detail
-
getScheduleId
@NotNull public @NotNull Set<Integer> getScheduleId()
Get the set of schedule IDs after which the associated schedule should be executed.- Returns:
- Set of followed schedule IDs.
-
setScheduleId
public ScheduleFollow setScheduleId(Set<Integer> scheduleId)
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
public ScheduleFollow setOnlyAfterSuccess(boolean onlyAfterSuccess)
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
-
-