Enum Class DeploymentUtil
- All Implemented Interfaces:
Serializable
,Comparable<DeploymentUtil>
,Constable
Create delta generation instance:
Create an iterator for generated files:
createDeltaGeneration(ScheduleContext)
.Create an iterator for generated files:
getGeneratedFiles(ScheduleContext)
.- Since:
- 5.0.26
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeltaGeneration
createDeltaGeneration
(@NotNull ScheduleContext context) Factory method to create an instance of typeDeltaGeneration
.getGeneratedFiles
(@NotNull ScheduleContext context) Factory method to create an iterable delivering the path for each generated file.static DeploymentUtil
Returns the enum constant of this class with the specified name.static DeploymentUtil[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
createDeltaGeneration
Factory method to create an instance of typeDeltaGeneration
.- Parameters:
context
- Current schedule context.- Returns:
- A new
DeltaGeneration
-instance. - Since:
- 5.0.26
-
getGeneratedFiles
Factory method to create 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.- Parameters:
context
- Current schedule context.- Returns:
- An iterable delivering the path for each generated file.
- Since:
- 5.0.26
-