Interface DeployTask
- All Superinterfaces:
ScheduleTask
Task for deploying generated files.
- Since:
- 4.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe deployment targetstatic enumThe type used for deployment -
Method Summary
Modifier and TypeMethodDescription<T extends DeployTarget>
TcreateTarget(@NotNull Class<T> type) Create a target.Theof this taskDeployTarget@NotNull DeployTask.TypegetType()Theused for deploymentTypevoidsetTarget(@NotNull DeployTarget target) Set the deployment target (e.g.,FileTarget,FtpTarget, etc.).voidsetType(@NotNull DeployTask.Type type) Provide theused for deploymentTypeMethods inherited from interface de.espirit.firstspirit.access.schedule.ScheduleTask
checkParams, getClusterNodeName, getDescription, getExecuteInFault, getExecuteParallel, getName, getRemoteTaskType, getScheduleEntry, getTemplate, hasTemplate, isActive, isExecuteOnClusterNode, isProjectTask, setActive, setClusterNodeName, setDescription, setExecuteInFault, setExecuteOnClusterNode, setExecuteParallel, setName, setTemplate, test
-
Method Details
-
getType
Theused for deploymentType- Returns:
- de.espirit.firstspirit.access.schedule.DeployTask.Type used for the deployment
- Since:
- 4.0
-
setType
Provide theused for deploymentType- Parameters:
type- theused for deploymentType- Since:
- 4.0
-
getTarget
DeployTarget getTarget()Theof this taskDeployTarget- Returns:
- de.espirit.firstspirit.access.schedule.DeployTarget
- Since:
- 4.0
-
createTarget
Create a target. The target can be set withsetTarget(DeployTarget).- Parameters:
type-- Since:
- 4.2.3
- See Also:
-
setTarget
Set the deployment target (e.g.,FileTarget,FtpTarget, etc.). This must also be called to save changes performed on deploy targets.- Parameters:
target- a target created bycreateTarget(Class)- Since:
- 4.2.3
-