public interface DeployTask extends ScheduleTask
Modifier and Type | Interface and Description |
---|---|
static class |
DeployTask.Target
The deployment target
|
static class |
DeployTask.Type
The type used for deployment
|
Modifier and Type | Method and Description |
---|---|
<T extends DeployTarget> |
createTarget(Class<T> type)
Create a target.
|
DeployTarget |
getTarget()
The
of this task |
DeployTask.Type |
getType()
The
used for deployment |
void |
setTarget(DeployTarget target)
Set the deployment target (e.g.
|
void |
setTargetType(DeployTask.Target target)
Deprecated.
Since 4.2.3. Use
setTarget( createTarget(type) ) . |
void |
setType(DeployTask.Type type)
Provide the
used for deployment |
checkParams, getClusterNodeName, getDescription, getExecuteInFault, getExecuteParallel, getName, getRemoteTaskType, getScheduleEntry, getTemplate, hasTemplate, isActive, isExecuteOnClusterNode, isProjectTask, setActive, setClusterNodeName, setDescription, setExecuteInFault, setExecuteOnClusterNode, setExecuteParallel, setName, setTemplate, test
@NotNull DeployTask.Type getType()
Type
used for deploymentvoid setType(@NotNull DeployTask.Type type)
Type
used for deploymenttype
- the Type
used for deploymentDeployTarget getTarget()
DeployTarget
of this task@Deprecated void setTargetType(DeployTask.Target target)
DeployTarget
of this task.target
- the DeployTarget
of this task<T extends DeployTarget> T createTarget(@NotNull Class<T> type)
setTarget(DeployTarget)
.type
- setTarget(DeployTarget)
void setTarget(@NotNull DeployTarget target)
FileTarget
,
FtpTarget
, etc.). This must also be called to save
changes performed on deploy targets.target
- a target created by createTarget(Class)
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500