Class DeploySpringCloudAppTask
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.operation.OperationBase<T>
-
- com.microsoft.azure.toolkit.lib.common.task.AzureTask<SpringCloudDeployment>
-
- com.microsoft.azure.toolkit.lib.springcloud.task.DeploySpringCloudAppTask
-
- All Implemented Interfaces:
com.microsoft.azure.toolkit.lib.common.operation.Operation<SpringCloudDeployment>
public class DeploySpringCloudAppTask extends com.microsoft.azure.toolkit.lib.common.task.AzureTask<SpringCloudDeployment>
-
-
Field Summary
Fields Modifier and Type Field Description private SpringCloudAppConfigconfigstatic StringDEFAULT_DEPLOYMENT_NAMEprivate SpringCloudDeploymentDraftdeploymentprivate List<com.microsoft.azure.toolkit.lib.common.task.AzureTask<?>>subTasks
-
Constructor Summary
Constructors Constructor Description DeploySpringCloudAppTask(SpringCloudAppConfig appConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpringCloudDeploymentdoExecute()private List<com.microsoft.azure.toolkit.lib.common.task.AzureTask<?>>initTasks()-
Methods inherited from class com.microsoft.azure.toolkit.lib.common.task.AzureTask
execute, getBackgrounded, getBody, getExecutionId, getModality, getMonitor, getParent, getProject, getTitle, getType, isBackgroundable, isCancellable, setBackgroundable, setBackgrounded, setMonitor, setParent, setType, toString
-
Methods inherited from class com.microsoft.azure.toolkit.lib.common.operation.OperationBase
getContext
-
-
-
-
Field Detail
-
DEFAULT_DEPLOYMENT_NAME
public static final String DEFAULT_DEPLOYMENT_NAME
- See Also:
- Constant Field Values
-
config
private final SpringCloudAppConfig config
-
subTasks
@Nonnull private final List<com.microsoft.azure.toolkit.lib.common.task.AzureTask<?>> subTasks
-
deployment
private SpringCloudDeploymentDraft deployment
-
-
Constructor Detail
-
DeploySpringCloudAppTask
public DeploySpringCloudAppTask(SpringCloudAppConfig appConfig)
-
-
Method Detail
-
initTasks
@Nonnull private List<com.microsoft.azure.toolkit.lib.common.task.AzureTask<?>> initTasks()
-
doExecute
public SpringCloudDeployment doExecute() throws Exception
- Overrides:
doExecutein classcom.microsoft.azure.toolkit.lib.common.task.AzureTask<SpringCloudDeployment>- Throws:
Exception
-
-