@Mojo(name="run") public class RunMojo extends AbstractFunctionMojo
AbstractAzureMojo.DefaultUncaughtExceptionHandler| 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, runtime, skipappName, appServicePlanName, appServicePlanResourceGroup, appSettings, deploymentType, MAVEN_PLUGIN_POSTFIX, resourceGroupallowTelemetry, auth, AUTH_METHOD, AUTH_TYPE, authentication, authType, AZURE_INIT_FAIL, buildDirectory, failsOnError, FAILURE_REASON, httpProxyHost, httpProxyPort, INIT_FAILURE, INSTALLATION_ID_KEY, INVALID_AUTH_TYPE, mavenResourcesFiltering, plugin, PLUGIN_NAME_KEY, PLUGIN_VERSION_KEY, project, session, SESSION_ID_KEY, settings, settingsDecrypter, SUBSCRIPTION_ID_KEY, subscriptionId, TELEMETRY_NOT_ALLOWED| Constructor and Description |
|---|
RunMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRuntimeExistence(com.microsoft.azure.common.function.handlers.CommandHandler handler) |
protected void |
checkStageDirectoryExistence() |
protected void |
doExecute() |
protected String |
getCheckRuntimeCommand() |
String |
getLocalDebugConfig() |
protected String |
getStartFunctionHostCommand() |
protected String |
getStartFunctionHostWithDebugCommand() |
protected void |
runFunctions(com.microsoft.azure.common.function.handlers.CommandHandler handler) |
void |
setLocalDebugConfig(String localDebugConfig) |
checkJavaVersion, execute, getAppSettingsWithDefaultValue, getFinalName, getFunctionApp, getFunctionExtensionVersion, getPricingTier, getRegion, getRuntime, isSkipMojogetAppName, getAppServicePlanName, getAppServicePlanResourceGroup, getAppSettings, getDeploymentStagingDirectoryPath, getDeploymentType, getResourceGroup, getResourcesgetAuthenticationSetting, getAuthMethod, getAuthTypeEnum, getAzureClient, getAzureClientByAuthType, getBuildDirectoryAbsolutePath, getHttpProxyHost, getHttpProxyPort, getInstallationId, getMavenResourcesFiltering, getPluginName, getPluginVersion, getProject, getSession, getSessionId, getSettings, getSubscriptionId, getTelemetryProperties, getTelemetryProxy, getUserAgent, handleException, infoWithMultipleLines, initAuth, initializeAuthConfiguration, initTelemetry, isAuthConfigurationExist, isFailingOnError, isTelemetryAllowed, trackMojoFailure, trackMojoSkip, trackMojoStart, trackMojoSuccesspublic 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 com.microsoft.azure.common.exceptions.AzureExecutionException
doExecute in class AbstractAzureMojocom.microsoft.azure.common.exceptions.AzureExecutionExceptionprotected void checkStageDirectoryExistence()
throws com.microsoft.azure.common.exceptions.AzureExecutionException
com.microsoft.azure.common.exceptions.AzureExecutionExceptionprotected void checkRuntimeExistence(com.microsoft.azure.common.function.handlers.CommandHandler handler)
throws com.microsoft.azure.common.exceptions.AzureExecutionException
com.microsoft.azure.common.exceptions.AzureExecutionExceptionprotected void runFunctions(com.microsoft.azure.common.function.handlers.CommandHandler handler)
throws com.microsoft.azure.common.exceptions.AzureExecutionException
com.microsoft.azure.common.exceptions.AzureExecutionExceptionprotected String getCheckRuntimeCommand()
protected String getStartFunctionHostCommand()
protected String getStartFunctionHostWithDebugCommand()
Copyright © 2020. All rights reserved.