de.espirit.firstspirit.server.scheduler
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>

Since:
4.2.3

Method Summary
 DTO create()
           
 T create(DeployTask deployTask, DTO dto)
           
<E> E
createEditorFactory(Class<E> type, DeployTask deployTask, T deployTarget)
          Create a gui factory of a specified type.
 Class<T> getApiType()
           
 String getDescription()
           
 String getDisplayName()
           
 Class<DTO> getDtoType()
           
 

Method Detail

getApiType

@NotNull
Class<T> getApiType()
Returns:
the api interface <T>
Since:
4.2.3

getDtoType

@NotNull
Class<DTO> getDtoType()
Returns:
the deploy target data tranfer object type
Since:
4.2.3

create

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

create

@NotNull
T create(@NotNull
                 DeployTask deployTask,
                 @NotNull
                 DTO dto)

getDisplayName

@NotNull
String getDisplayName()
Returns:
the visible task selection display name
Since:
4.2.3

getDescription

@NotNull
String getDescription()
Returns:
the task desciption
Since:
4.2.3

createEditorFactory

@Nullable
<E> E createEditorFactory(@NotNull
                                   Class<E> type,
                                   @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 -
deployTarget - the deploy target. @return A gui factory which provides a gui of the specified type.


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480