Interface DeployTask
- All Superinterfaces:
ScheduleTask
Task for deploying generated files.
- Since:
- 4.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
The deployment targetstatic enum
The type used for deployment -
Method Summary
Modifier and TypeMethodDescription<T extends DeployTarget>
TcreateTarget
(@NotNull Class<T> type) Create a target.The
of this taskDeployTarget
@NotNull DeployTask.Type
getType()
The
used for deploymentType
void
setTarget
(@NotNull DeployTarget target) Set the deployment target (e.g.,FileTarget
,FtpTarget
, etc.).void
setType
(@NotNull DeployTask.Type type) Provide the
used for deploymentType
Methods 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
The
used for deploymentType
- Returns:
- de.espirit.firstspirit.access.schedule.DeployTask.Type used for the deployment
- Since:
- 4.0
-
setType
Provide the
used for deploymentType
- Parameters:
type
- the
used for deploymentType
- Since:
- 4.0
-
getTarget
DeployTarget getTarget()The
of 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
-