Interface DeployTargetFactory<DTO extends de.espirit.firstspirit.server.scheduler.DeployTargetDTO,T extends de.espirit.firstspirit.admin.AbstractDeployTarget>


public interface DeployTargetFactory<DTO extends de.espirit.firstspirit.server.scheduler.DeployTargetDTO,T extends de.espirit.firstspirit.admin.AbstractDeployTarget>
Factory for a deploy target task application.
Since:
4.2.38
  • Method Details

    • getApiType

      @NotNull @NotNull Class<T> getApiType()
      Provides the API type of this factory.
      Returns:
      The api interface <T>
      Since:
      4.2.3
    • getDtoType

      @NotNull @NotNull Class<DTO> getDtoType()
      Provides the DTO type for the task at hand.
      Returns:
      the deploy target data tranfer object type
      Since:
      4.2.3
    • create

      @NotNull DTO create()
      Factory providing a new DTO.
      Returns:
      a new deploy target data tranfer instance
      Since:
      4.2.3
    • create

      @NotNull T create(@NotNull @NotNull DeployTask deployTask, @NotNull DTO dto)
      Factory to create a new target.
      Since:
      4.2.38
    • getDisplayName

      @NotNull @NotNull String getDisplayName()
      Provides the display name for task selection.
      Returns:
      the visible task selection display name
      Since:
      4.2.3
    • getDescription

      @NotNull @NotNull String getDescription()
      Provides the description for a task based upon this factory.
      Returns:
      the task desciption
      Since:
      4.2.3
    • createEditorFactory

      @Nullable <E> E createEditorFactory(@NotNull @NotNull Class<E> type, @NotNull @NotNull DeployTask deployTask, @NotNull T deployTarget)
      Create a gui factory of a specified type. If the specified type is not supported implementations should return null.

      Parameters:
      type - desired gui type, current gui types are ScheduleTaskDialogFactory for the java client and TODO (name class for web client)
      deployTask - the deploy task.
      deployTarget - the deploy target.
      Returns:
      A gui factory which provides a gui of the specified type.
      Since:
      4.2.38