public abstract class AbstractAppServiceMojo extends AbstractAzureMojo
AbstractAzureMojo.DefaultUncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected String |
appName
App Service name.
|
protected String |
appServicePlanName
App Service Plan name.
|
protected String |
appServicePlanResourceGroup
Resource group of App Service Plan.
|
protected Properties |
appSettings
Application settings of App Service, in the form of name-value pairs.
|
protected String |
deploymentType
Deployment type to deploy Web App or Function App.
|
protected static String |
MAVEN_PLUGIN_POSTFIX |
protected String |
region
App Service region, which will only be used to create App Service at the first time.
|
protected String |
resourceGroup
Resource group of App Service.
|
allowTelemetry, AUTH_TYPE, authentication, AZURE_INIT_FAIL, buildDirectory, failsOnError, FAILURE_REASON, 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 |
|---|
AbstractAppServiceMojo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName() |
String |
getAppServicePlanName() |
String |
getAppServicePlanResourceGroup() |
Map |
getAppSettings() |
String |
getDeploymentStagingDirectoryPath() |
DeploymentType |
getDeploymentType() |
String |
getRegion() |
String |
getResourceGroup() |
List<org.apache.maven.model.Resource> |
getResources() |
debug, doExecute, error, execute, getAuthenticationSetting, getAuthType, getAzureClient, getBuildDirectoryAbsolutePath, getInstallationId, getMavenResourcesFiltering, getPluginName, getPluginVersion, getProject, getSession, getSessionId, getSettings, getSubscriptionId, getTelemetryProperties, getTelemetryProxy, getUserAgent, handleException, info, infoWithMultipleLines, initTelemetry, isFailingOnError, isSkipMojo, isTelemetryAllowed, trackMojoFailure, trackMojoSkip, trackMojoStart, trackMojoSuccess, warninggetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogprotected static final String MAVEN_PLUGIN_POSTFIX
@Parameter(property="resourceGroup",
required=true)
protected String resourceGroup
@Parameter(property="appName",
required=true)
protected String appName
@Parameter(property="deploymentType") protected String deploymentType
<resources> specifies configurations for this kind of deployment.<resources> specifies configurations for this kind of deployment.<warFile> and <path> specifies configurations for this kind of deployment.<jarFile> and <path> specifies configurations for this kind of deployment.<packaging> of the Maven project and uses WAR, JAR @Parameter(property="appServicePlanResourceGroup") protected String appServicePlanResourceGroup
@Parameter(property="appServicePlanName") protected String appServicePlanName
@Parameter(property="region",
defaultValue="westus")
protected String region
@Parameter protected Properties appSettings
<appSettings>
<property>
<name>setting-name</name>
<value>setting-value</value>
</property>
</appSettings>
public String getResourceGroup()
public String getAppName()
public String getAppServicePlanResourceGroup()
public String getAppServicePlanName()
public String getRegion()
public Map getAppSettings()
public DeploymentType getDeploymentType() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic List<org.apache.maven.model.Resource> getResources()
public String getDeploymentStagingDirectoryPath()
Copyright © 2018. All rights reserved.