public class WebAppSwapSlotsCommandContext extends com.microsoft.jenkins.azurecommons.command.BaseCommandContext implements SwapSlotsCommand.ISwapSlotsCommandData
| Constructor and Description |
|---|
WebAppSwapSlotsCommandContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
com.microsoft.azure.management.appservice.WebApp app) |
com.microsoft.jenkins.azurecommons.command.IBaseCommandData |
getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command) |
String |
getSourceSlotName() |
String |
getTargetSlotName() |
com.microsoft.azure.management.appservice.WebApp |
getWebApp() |
void |
setSourceSlotName(String sourceSlotName) |
void |
setTargetSlotName(String targetSlotName) |
void |
setWebApp(com.microsoft.azure.management.appservice.WebApp webApp) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
startImpl(org.jenkinsci.plugins.workflow.steps.StepContext context) |
configure, configure, executeCommands, getCommandService, getCommandState, getEnvVars, getJobContext, getLastCommandState, logError, logError, logError, logStatus, setCommandState, setLastCommandState, startpublic void configure(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
com.microsoft.azure.management.appservice.WebApp app)
throws AzureCloudException
AzureCloudExceptionpublic void setWebApp(com.microsoft.azure.management.appservice.WebApp webApp)
public void setSourceSlotName(String sourceSlotName)
public void setTargetSlotName(String targetSlotName)
public String getSourceSlotName()
getSourceSlotName in interface SwapSlotsCommand.ISwapSlotsCommandDatapublic String getTargetSlotName()
getTargetSlotName in interface SwapSlotsCommand.ISwapSlotsCommandDatapublic com.microsoft.azure.management.appservice.WebApp getWebApp()
getWebApp in interface SwapSlotsCommand.ISwapSlotsCommandDatapublic org.jenkinsci.plugins.workflow.steps.StepExecution startImpl(org.jenkinsci.plugins.workflow.steps.StepContext context)
throws Exception
startImpl in class com.microsoft.jenkins.azurecommons.command.BaseCommandContextExceptionpublic com.microsoft.jenkins.azurecommons.command.IBaseCommandData getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command)
getDataForCommand in interface com.microsoft.jenkins.azurecommons.command.ICommandServiceDatagetDataForCommand in class com.microsoft.jenkins.azurecommons.command.BaseCommandContextCopyright © 2016–2021. All rights reserved.