Enum Class DeploymentUtil

java.lang.Object
java.lang.Enum<DeploymentUtil>
de.espirit.firstspirit.access.schedule.DeploymentUtil
All Implemented Interfaces:
Serializable, Comparable<DeploymentUtil>, Constable

public enum DeploymentUtil extends Enum<DeploymentUtil>
Create delta generation instance: createDeltaGeneration(ScheduleContext).
Create an iterator for generated files: getGeneratedFiles(ScheduleContext).
Since:
5.0.26
  • Method Details

    • values

      public static DeploymentUtil[] 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

      public static DeploymentUtil valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • createDeltaGeneration

      public static DeltaGeneration createDeltaGeneration(@NotNull @NotNull ScheduleContext context)
      Factory method to create an instance of type DeltaGeneration.
      Parameters:
      context - Current schedule context.
      Returns:
      A new DeltaGeneration-instance.
      Since:
      5.0.26
    • getGeneratedFiles

      public static Iterable<String> getGeneratedFiles(@NotNull @NotNull ScheduleContext context)
      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