public class AliasMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
AliasMojo.Alias |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
AliasMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createAlias(ServerProfile profile,
String aliasPayload)
REST call wrappers
|
static String |
deleteAlias(ServerProfile profile,
String aliasPayload) |
protected void |
doUpdate(List<String> aliases)
create alias values
|
void |
execute()
Entry point for the mojo.
|
static List |
getAlias(ServerProfile profile,
String keystore) |
protected static AliasMojo.Alias |
getAliasObj(String payload) |
void |
init() |
contextualize, getAPIConfig, getAPIList, getBaseDirectoryPath, getBuildDirectory, getBuildOption, getEnvConfig, getExportDir, getId, getIgnoreProductsForApp, getKvmOverride, getOptions, getOrgConfig, getOrgConfigWithId, getProfile, getProxy, isSkip, matchNonProxy, setBaseDirectory, setBuildOption, setExportDir, setId, setIgnoreProductsForApp, setKvmOverride, setOptions, setProfile, setSkippublic static final String ____ATTENTION_MARKER____
public void init()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected static AliasMojo.Alias getAliasObj(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doUpdate(List<String> aliases) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic static String createAlias(ServerProfile profile, String aliasPayload) throws IOException, org.apache.maven.plugin.MojoFailureException
IOExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic static String deleteAlias(ServerProfile profile, String aliasPayload) throws IOException, org.apache.maven.plugin.MojoFailureException
IOExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic static List getAlias(ServerProfile profile, String keystore) throws IOException
IOExceptionCopyright © 2022. All rights reserved.