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 Summary
Modifier and TypeMethodDescriptioncreate()
Factory providing a new DTO.create
(@NotNull DeployTask deployTask, DTO dto) Factory to create a new target.<E> E
createEditorFactory
(@NotNull Class<E> type, @NotNull DeployTask deployTask, T deployTarget) Create a gui factory of a specified type.Provides the API type of this factory.@NotNull String
Provides the description for a task based upon this factory.@NotNull String
Provides the display name for task selection.Provides the DTO type for the task at hand.
-
Method Details
-
getApiType
Provides the API type of this factory.- Returns:
- The api interface
<T>
- Since:
- 4.2.3
-
getDtoType
Provides the DTO type for the task at hand.- Returns:
- the deploy target data tranfer object type
- Since:
- 4.2.3
-
create
Factory providing a new DTO.- Returns:
- a new deploy target data tranfer instance
- Since:
- 4.2.3
-
create
Factory to create a new target.- Since:
- 4.2.38
-
getDisplayName
Provides the display name for task selection.- Returns:
- the visible task selection display name
- Since:
- 4.2.3
-
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 returnnull
.- Parameters:
type
- desired gui type, current gui types areScheduleTaskDialogFactory
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
-