Interface DeployTask

All Superinterfaces:
ScheduleTask

public interface DeployTask extends ScheduleTask
Task for deploying generated files.
Since:
4.0
  • Method Details

    • getType

      @NotNull @NotNull DeployTask.Type getType()
      The Type used for deployment
      Returns:
      de.espirit.firstspirit.access.schedule.DeployTask.Type used for the deployment
      Since:
      4.0
    • setType

      void setType(@NotNull @NotNull DeployTask.Type type)
      Provide the Type used for deployment
      Parameters:
      type - the Type used for deployment
      Since:
      4.0
    • getTarget

      DeployTarget getTarget()
      The DeployTarget of this task
      Returns:
      de.espirit.firstspirit.access.schedule.DeployTarget
      Since:
      4.0
    • createTarget

      <T extends DeployTarget> T createTarget(@NotNull @NotNull Class<T> type)
      Create a target. The target can be set with setTarget(DeployTarget).
      Parameters:
      type -
      Since:
      4.2.3
      See Also:
    • setTarget

      void setTarget(@NotNull @NotNull DeployTarget target)
      Set the deployment target (e.g., FileTarget, FtpTarget, etc.). This must also be called to save changes performed on deploy targets.
      Parameters:
      target - a target created by createTarget(Class)
      Since:
      4.2.3