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, start
public 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
AzureCloudException
public 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.ISwapSlotsCommandData
public String getTargetSlotName()
getTargetSlotName
in interface SwapSlotsCommand.ISwapSlotsCommandData
public com.microsoft.azure.management.appservice.WebApp getWebApp()
getWebApp
in interface SwapSlotsCommand.ISwapSlotsCommandData
public org.jenkinsci.plugins.workflow.steps.StepExecution startImpl(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
startImpl
in class com.microsoft.jenkins.azurecommons.command.BaseCommandContext
Exception
public com.microsoft.jenkins.azurecommons.command.IBaseCommandData getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command)
getDataForCommand
in interface com.microsoft.jenkins.azurecommons.command.ICommandServiceData
getDataForCommand
in class com.microsoft.jenkins.azurecommons.command.BaseCommandContext
Copyright © 2016–2021. All rights reserved.