Interface GenerationAgent
public interface GenerationAgent
Agent providing means to support operating on generating tasks.
- Since:
- 5.2.301
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SpecialistType<GenerationAgent>
Agent providing means to support operating on generating tasks. -
Method Summary
Modifier and TypeMethodDescriptionCreates a newDeltaGeneration
.Creates an iterable delivering the path for each generated file.@NotNull Collection<FileEntry>
Provides a collection containing information on the output of generation runs prior to the invocation.
-
Field Details
-
TYPE
Agent providing means to support operating on generating tasks.- Since:
- 5.2.301
-
-
Method Details
-
createDeltaGeneration
DeltaGeneration createDeltaGeneration()Creates a newDeltaGeneration
.- Returns:
- A new delta generation.
- Since:
- 5.2.301
-
getGeneratedFiles
Creates an iterable delivering the path for each generated file.
Please note that this methode should only be called after the generation proccess and if you checked the option that an empty directory should be used for the generation process. If you do not start with an empty directory all files of the previous generation processes of the current schedule entry will also be returned by this method.- Returns:
- An iterable delivering the path for each generated file.
- Since:
- 5.2.301
-
getOutput
Provides a collection containing information on the output of generation runs prior to the invocation. For each created file, an entry object is present providing information about the file and its FirstSpirit source.- Returns:
- A collection of file entries.
- Since:
- 5.2.200905
-