@Mojo(name="run") public class RunMojo extends AbstractFunctionMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
FUNC_CMD |
static String |
FUNC_HOST_START_CMD |
static String |
FUNC_HOST_START_WITH_DEBUG_CMD |
protected String |
localDebugConfig
Config String for local debug
|
static String |
RUN_FUNCTIONS_FAILURE |
static String |
RUNTIME_FOUND |
static String |
RUNTIME_NOT_FOUND |
static String |
STAGE_DIR_FOUND |
static String |
STAGE_DIR_NOT_FOUND |
finalName, outputDirectory, pricingTier, region, skipappName, appServicePlanName, appServicePlanResourceGroup, appSettings, deploymentType, MAVEN_PLUGIN_POSTFIX, resourceGroupallowTelemetry, AUTH_TYPE, authentication, AZURE_INIT_FAIL, buildDirectory, failsOnError, FAILURE_REASON, httpProxyHost, httpProxyPort, INIT_FAILURE, INSTALLATION_ID_KEY, mavenResourcesFiltering, plugin, PLUGIN_NAME_KEY, PLUGIN_VERSION_KEY, project, session, SESSION_ID_KEY, settings, SUBSCRIPTION_ID_KEY, subscriptionId, TELEMETRY_NOT_ALLOWED| Constructor and Description |
|---|
RunMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRuntimeExistence(CommandHandler handler) |
protected void |
checkStageDirectoryExistence() |
protected void |
doExecute() |
protected String |
getCheckRuntimeCommand() |
String |
getLocalDebugConfig() |
protected String |
getStartFunctionHostCommand() |
protected String |
getStartFunctionHostWithDebugCommand() |
protected void |
runFunctions(CommandHandler handler) |
void |
setLocalDebugConfig(String localDebugConfig) |
checkJavaVersion, execute, getFinalName, getFunctionApp, getPricingTier, getRegion, isSkipMojogetAppName, getAppServicePlanName, getAppServicePlanResourceGroup, getAppSettings, getDeploymentStagingDirectoryPath, getDeploymentType, getResourceGroup, getResourcesdebug, error, getAuthenticationSetting, getAuthType, getAzureClient, getBuildDirectoryAbsolutePath, getHttpProxyHost, getHttpProxyPort, getInstallationId, getMavenResourcesFiltering, getPluginName, getPluginVersion, getProject, getSession, getSessionId, getSettings, getSubscriptionId, getTelemetryProperties, getTelemetryProxy, getUserAgent, handleException, info, infoWithMultipleLines, initTelemetry, isFailingOnError, isTelemetryAllowed, trackMojoFailure, trackMojoSkip, trackMojoStart, trackMojoSuccess, warninggetLog, getPluginContext, setLog, setPluginContextpublic static final String STAGE_DIR_FOUND
public static final String STAGE_DIR_NOT_FOUND
public static final String RUNTIME_FOUND
public static final String RUNTIME_NOT_FOUND
public static final String RUN_FUNCTIONS_FAILURE
public static final String FUNC_HOST_START_CMD
public static final String FUNC_HOST_START_WITH_DEBUG_CMD
public static final String FUNC_CMD
@Parameter(property="localDebugConfig",
defaultValue="transport=dt_socket,server=y,suspend=n,address=5005")
protected String localDebugConfig
public String getLocalDebugConfig()
public void setLocalDebugConfig(String localDebugConfig)
protected void doExecute()
throws Exception
doExecute in class com.microsoft.azure.maven.AbstractAzureMojoExceptionprotected void checkStageDirectoryExistence()
throws Exception
Exceptionprotected void checkRuntimeExistence(CommandHandler handler) throws Exception
Exceptionprotected void runFunctions(CommandHandler handler) throws Exception
Exceptionprotected String getCheckRuntimeCommand()
protected String getStartFunctionHostCommand()
protected String getStartFunctionHostWithDebugCommand()
Copyright © 2019. All rights reserved.