public interface DeployTargetFactory<DTO extends de.espirit.firstspirit.server.scheduler.DeployTargetDTO,T extends de.espirit.firstspirit.admin.AbstractDeployTarget>
Modifier and Type | Method and Description |
---|---|
DTO |
create()
Factory providing a new DTO.
|
T |
create(DeployTask deployTask,
DTO dto)
Factory to create a new target.
|
<E> E |
createEditorFactory(Class<E> type,
DeployTask deployTask,
T deployTarget)
Create a gui factory of a specified type.
|
Class<T> |
getApiType()
Provides the API type of this factory.
|
String |
getDescription()
Provides the description for a task based upon this factory.
|
String |
getDisplayName()
Provides the display name for task selection.
|
Class<DTO> |
getDtoType()
Provides the DTO type for the task at hand.
|
@NotNull Class<T> getApiType()
<T>
@NotNull Class<DTO> getDtoType()
@NotNull DTO create()
@NotNull T create(@NotNull DeployTask deployTask, @NotNull DTO dto)
@NotNull String getDisplayName()
@NotNull String getDescription()
@Nullable <E> E createEditorFactory(@NotNull Class<E> type, @NotNull DeployTask deployTask, @NotNull T deployTarget)
null
.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.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210