Class DeployTargetDialogFactory
java.lang.Object
de.espirit.firstspirit.server.scheduler.DeployTargetDialogFactory
Abstract class that can be used to implement a factory class for deploy target dialogs.
- Since:
- 4.2.38
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract @NotNull ScheduleTaskDialogcreateDialog(@NotNull Host host, Window owner) Creates aScheduleTaskDialogusing the given host and parent window.Gets the deploy target.Gets the deploy task.final voidsetDeployTarget(@NotNull DeployTarget deployTarget) Sets the deploy target.final voidsetDeployTask(DeployTask deployTask) Sets the deploy task.
-
Constructor Details
-
DeployTargetDialogFactory
public DeployTargetDialogFactory()Creates a new empty instance.- Since:
- 4.2.38
-
-
Method Details
-
setDeployTarget
Sets the deploy target.- Parameters:
deployTarget-DeployTargetobject that will correspond to the created dialog.- Since:
- 4.2.38
-
getDeployTarget
Gets the deploy target.- Returns:
DeployTargetobject that will correspond to the created dialog.- Since:
- 4.2.38
-
setDeployTask
Sets the deploy task.- Parameters:
deployTask-DeployTaskobject that will correspond to the created dialog.- Since:
- 4.2.38
-
getDeployTask
Gets the deploy task.- Returns:
DeployTaskobject that will correspond to the created dialog.- Since:
- 4.2.38
-
createDialog
@NotNull public abstract @NotNull ScheduleTaskDialog createDialog(@NotNull @NotNull Host host, Window owner) Creates aScheduleTaskDialogusing the given host and parent window.- Parameters:
host-Hostobject that can be used to create the dialog.owner- ParentWindowof the new dialog.- Returns:
- New
ScheduleTaskDialog. - Since:
- 4.2.38
-