public abstract class AbstractFunctionMojo
extends com.microsoft.azure.maven.AbstractAppServiceMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
finalName |
private static String |
JDK_VERSION_ERROR |
protected File |
outputDirectory |
protected com.microsoft.azure.maven.appservice.PricingTierEnum |
pricingTier
App Service pricing tier, which will only be used to create Functions App at the first time.
Below is the list of supported pricing tier: F1 D1 B1 B2 B3 S1 S2 S3 P1V2 P2V2 P3V2 |
protected String |
region
App Service region, which will only be used to create App Service at the first time.
|
protected boolean |
skip
Skip execution.
|
appName, 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 |
|---|
AbstractFunctionMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkJavaVersion() |
void |
execute() |
String |
getFinalName() |
com.microsoft.azure.management.appservice.FunctionApp |
getFunctionApp() |
com.microsoft.azure.management.appservice.PricingTier |
getPricingTier() |
String |
getRegion() |
protected boolean |
isSkipMojo() |
getAppName, getAppServicePlanName, getAppServicePlanResourceGroup, getAppSettings, getDeploymentStagingDirectoryPath, getDeploymentType, getResourceGroup, getResourcesdebug, doExecute, 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, setPluginContextprivate static final String JDK_VERSION_ERROR
@Parameter(property="functions.pricingTier") protected com.microsoft.azure.maven.appservice.PricingTierEnum pricingTier
@Parameter(defaultValue="${project.build.finalName}",
readonly=true,
required=true)
protected String finalName
@Parameter(defaultValue="${project.build.outputDirectory}",
readonly=true,
required=true)
protected File outputDirectory
@Parameter(property="functions.skip",
defaultValue="false")
protected boolean skip
@Parameter(property="functions.region",
defaultValue="westeurope")
protected String region
public com.microsoft.azure.management.appservice.PricingTier getPricingTier()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic String getRegion()
protected boolean isSkipMojo()
isSkipMojo in class com.microsoft.azure.maven.AbstractAzureMojopublic String getFinalName()
@Nullable public com.microsoft.azure.management.appservice.FunctionApp getFunctionApp() throws com.microsoft.azure.maven.auth.AzureAuthFailureException
com.microsoft.azure.maven.auth.AzureAuthFailureExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoexecute in class com.microsoft.azure.maven.AbstractAzureMojoorg.apache.maven.plugin.MojoExecutionExceptionpublic void checkJavaVersion()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2019. All rights reserved.