Interface DeltaGeneration.ChangeSet

Enclosing interface:
DeltaGeneration

public static interface DeltaGeneration.ChangeSet
Change set wrapping the calculated changes of a DeltaGeneration.
Since:
5.0.26
  • Method Details

    • configureGenerateTask

      void configureGenerateTask(@NotNull @NotNull GenerateTask task)
      Configure the provided generate task to generate the calculated change set.
      Parameters:
      task - Generate task to configure.
      Since:
      5.0.26
    • configureGenerateTask

      void configureGenerateTask(@NotNull @NotNull ScheduleTaskControl control)
      Configure the provided control, provided that it refers to a generating task.
      Parameters:
      control - A control.
      Throws:
      IllegalArgumentException - if the given control does not refer to a generating task.
      Since:
      5.2.301
    • configureGenerateTask

      void configureGenerateTask()
      Configure first generate task (after the current task) to generate the calculated change set. Throws an IllegalStateException if there is no such generate task.
      Since:
      5.0.26
    • isFullGenerate

      boolean isFullGenerate()
      Return true if this change set will result in a full generate process.
      Returns:
      true if this change set will result in a full generate process.
      Since:
      5.0.26
    • getDeletedPageInfos

      @NotNull @NotNull Iterable<DeltaGeneration.DeletedPageInfo> getDeletedPageInfos()
      Information for deleted pages. Uses this e.g. to update a site or search index. In case of a full generation this delivers an empty iterator.
      Only pages with a stored url are returned ( ContentProducer.getStoredUrl(Language,TemplateSet,Object) != null)!
      Returns:
      Iterable of information for deleted pages.
      Since:
      5.0.26