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 Summary
Modifier and TypeMethodDescriptionvoid
Configure first generate task (after the current task) to generate the calculated change set.void
configureGenerateTask
(@NotNull GenerateTask task) Configure the provided generate task to generate the calculated change set.void
configureGenerateTask
(@NotNull ScheduleTaskControl control) Configure the provided control, provided that it refers to a generating task.@NotNull Iterable<DeltaGeneration.DeletedPageInfo>
Information for deleted pages.boolean
Returntrue
if this change set will result in a full generate process.
-
Method Details
-
configureGenerateTask
Configure the provided generate task to generate the calculated change set.- Parameters:
task
- Generate task to configure.- Since:
- 5.0.26
-
configureGenerateTask
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 anIllegalStateException
if there is no such generate task.- Since:
- 5.0.26
-
isFullGenerate
boolean isFullGenerate()Returntrue
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
Information for deleted pages. Uses this e.g. to update a site or search index. In case of afull 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
-