Class ScheduleFollow

java.lang.Object
com.gentics.contentnode.rest.model.scheduler.ScheduleFollow

public class ScheduleFollow extends Object
Definition for follow up execution.
  • Constructor Details

    • ScheduleFollow

      public ScheduleFollow()
  • Method Details

    • 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
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object