public class ExportKeysMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
ExportKeysMojo.ApiProducts |
static class |
ExportKeysMojo.App |
static class |
ExportKeysMojo.Credentials |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
ExportKeysMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExport(Map<String,List<String>> apps) |
void |
execute()
Entry point for the mojo.
|
static void |
exportToFile(ServerProfile profile,
List<ExportKeysMojo.App> apps,
String exportFilePath) |
static List |
getApp(ServerProfile profile,
String developerId)
REST call wrappers
|
static ExportKeysMojo.App |
getAppDetails(ServerProfile profile,
String developerId,
String app) |
protected String |
getAppName(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 String getAppName(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doExport(Map<String,List<String>> apps) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionpublic static void exportToFile(ServerProfile profile, List<ExportKeysMojo.App> apps, String exportFilePath) throws IOException, org.apache.maven.plugin.MojoFailureException
IOExceptionorg.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 List getApp(ServerProfile profile, String developerId) throws IOException, org.apache.maven.plugin.MojoFailureException
IOExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic static ExportKeysMojo.App getAppDetails(ServerProfile profile, String developerId, String app) throws IOException, org.apache.maven.plugin.MojoFailureException
IOExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2022. All rights reserved.