public class FunctionAppDeploymentCommandContext extends com.microsoft.jenkins.azurecommons.command.BaseCommandContext implements ZipDeployCommand.IZipDeployCommandData, GitDeployCommand.IGitDeployCommandData
Constructor and Description |
---|
FunctionAppDeploymentCommandContext(String filePath) |
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.FunctionApp app) |
com.microsoft.jenkins.azurecommons.command.IBaseCommandData |
getDataForCommand(com.microsoft.jenkins.azurecommons.command.ICommand command) |
String |
getFilePath() |
com.microsoft.azure.management.appservice.PublishingProfile |
getPublishingProfile() |
String |
getSourceDirectory() |
String |
getTargetDirectory() |
com.microsoft.azure.management.appservice.WebAppBase |
getWebAppBase() |
void |
setSourceDirectory(String sourceDirectory) |
void |
setTargetDirectory(String targetDirectory) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
startImpl(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) |
configure, configure, executeCommands, getCommandService, getCommandState, getEnvVars, getJobContext, getLastCommandState, logError, logError, logError, logStatus, setCommandState, setLastCommandState, start
public FunctionAppDeploymentCommandContext(String filePath)
public void setSourceDirectory(String sourceDirectory)
public void setTargetDirectory(String targetDirectory)
public void configure(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener, com.microsoft.azure.management.appservice.FunctionApp app) throws com.microsoft.jenkins.exceptions.AzureCloudException
com.microsoft.jenkins.exceptions.AzureCloudException
public org.jenkinsci.plugins.workflow.steps.StepExecution startImpl(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) 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
public String getFilePath()
getFilePath
in interface GitDeployCommand.IGitDeployCommandData
getFilePath
in interface ZipDeployCommand.IZipDeployCommandData
public String getSourceDirectory()
getSourceDirectory
in interface GitDeployCommand.IGitDeployCommandData
getSourceDirectory
in interface ZipDeployCommand.IZipDeployCommandData
public String getTargetDirectory()
getTargetDirectory
in interface GitDeployCommand.IGitDeployCommandData
getTargetDirectory
in interface ZipDeployCommand.IZipDeployCommandData
public com.microsoft.azure.management.appservice.PublishingProfile getPublishingProfile()
getPublishingProfile
in interface GitDeployCommand.IGitDeployCommandData
public com.microsoft.azure.management.appservice.WebAppBase getWebAppBase()
getWebAppBase
in interface GitDeployCommand.IGitDeployCommandData
getWebAppBase
in interface ZipDeployCommand.IZipDeployCommandData
Copyright © 2016–2021. All rights reserved.