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
-
Method Summary
Modifier and TypeMethodDescriptionabstract @NotNull ScheduleTaskDialog
createDialog
(@NotNull Host host, Window owner) Creates aScheduleTaskDialog
using the given host and parent window.Gets the deploy target.Gets the deploy task.final void
setDeployTarget
(@NotNull DeployTarget deployTarget) Sets the deploy target.final void
setDeployTask
(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
-DeployTarget
object that will correspond to the created dialog.- Since:
- 4.2.38
-
getDeployTarget
Gets the deploy target.- Returns:
DeployTarget
object that will correspond to the created dialog.- Since:
- 4.2.38
-
setDeployTask
Sets the deploy task.- Parameters:
deployTask
-DeployTask
object that will correspond to the created dialog.- Since:
- 4.2.38
-
getDeployTask
Gets the deploy task.- Returns:
DeployTask
object 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 aScheduleTaskDialog
using the given host and parent window.- Parameters:
host
-Host
object that can be used to create the dialog.owner
- ParentWindow
of the new dialog.- Returns:
- New
ScheduleTaskDialog
. - Since:
- 4.2.38
-