public abstract class GatewayAbstractMojo
extends org.apache.maven.plugin.AbstractMojo
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
| Modifier and Type | Field and Description |
|---|---|
ServerProfile |
buildProfile |
protected org.codehaus.plexus.PlexusContainer |
container
Injecting the underlying IoC container to access maven configuration.
|
protected org.apache.maven.project.MavenProject |
project
The project being built
|
protected org.apache.maven.execution.MavenSession |
session
The Maven session
|
protected org.apache.maven.settings.Settings |
settings
The Maven settings
|
protected org.apache.maven.settings.crypto.SettingsDecrypter |
settingsDecrypter
Injecting the settings decrypter module that allows us to access decrypted properties.
|
protected static Pattern |
URL_PARSE_REGEX |
| Constructor and Description |
|---|
GatewayAbstractMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
protected List |
getAPIConfig(org.apache.logging.log4j.Logger logger,
String config,
String api) |
protected Set<String> |
getAPIList(org.apache.logging.log4j.Logger logger) |
String |
getBaseDirectoryPath() |
String |
getBuildDirectory() |
String |
getBuildOption() |
protected List |
getEnvConfig(org.apache.logging.log4j.Logger logger,
String config) |
String |
getExportDir() |
String |
getId() |
String |
getIgnoreProductsForApp() |
String |
getKvmOverride() |
String |
getOptions() |
protected List |
getOrgConfig(org.apache.logging.log4j.Logger logger,
String config) |
protected Map |
getOrgConfigWithId(org.apache.logging.log4j.Logger logger,
String config) |
ServerProfile |
getProfile() |
protected org.apache.maven.settings.Proxy |
getProxy(org.apache.maven.settings.Settings settings,
String host)
Get the proxy configuration from the maven settings
|
boolean |
isSkip() |
protected boolean |
matchNonProxy(org.apache.maven.settings.Proxy proxy,
String hostname)
Check hostname that matched nonProxy setting
|
void |
setBaseDirectory(File baseDirectory) |
void |
setBuildOption(String buildOption) |
void |
setExportDir(String exportDir) |
void |
setId(String id) |
void |
setIgnoreProductsForApp(String ignoreProductsForApp) |
void |
setKvmOverride(String kvmOverride) |
void |
setOptions(String options) |
void |
setProfile(ServerProfile profile) |
void |
setSkip(boolean skip) |
getLog, getPluginContext, setLog, setPluginContextprotected static final Pattern URL_PARSE_REGEX
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.execution.MavenSession session
protected org.apache.maven.settings.Settings settings
@Requirement protected org.codehaus.plexus.PlexusContainer container
@Requirement protected org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter
public ServerProfile buildProfile
public String getKvmOverride()
public void setKvmOverride(String kvmOverride)
public String getExportDir()
public void setExportDir(String exportDir)
public ServerProfile getProfile()
public void setProfile(ServerProfile profile)
public void setBaseDirectory(File baseDirectory)
public String getBuildDirectory()
public String getBaseDirectoryPath()
public String getBuildOption()
public void setBuildOption(String buildOption)
public String getOptions()
public void setOptions(String options)
public String getId()
public void setId(String id)
id - the id to setpublic boolean isSkip()
public void setSkip(boolean skip)
public String getIgnoreProductsForApp()
public void setIgnoreProductsForApp(String ignoreProductsForApp)
protected List getAPIConfig(org.apache.logging.log4j.Logger logger, String config, String api) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Set<String> getAPIList(org.apache.logging.log4j.Logger logger) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected List getEnvConfig(org.apache.logging.log4j.Logger logger, String config) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected List getOrgConfig(org.apache.logging.log4j.Logger logger, String config) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Map getOrgConfigWithId(org.apache.logging.log4j.Logger logger, String config) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextExceptionprotected org.apache.maven.settings.Proxy getProxy(org.apache.maven.settings.Settings settings,
String host)
settings - the maven settingshost - the host name of the apigee edge endpointprotected boolean matchNonProxy(org.apache.maven.settings.Proxy proxy,
String hostname)
proxy - Maven Proxy. Must not nullhostname - Copyright © 2022. All rights reserved.