public class AppMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
AppMojo.App |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
AppMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createApp(ServerProfile profile,
String developerId,
String app)
REST call wrappers
|
static String |
deleteApp(ServerProfile profile,
String developerId,
String appName) |
static boolean |
doesDeveloperAppExist(ServerProfile profile,
String developerEmail,
String appName) |
protected void |
doUpdate(Map<String,List<String>> devApps) |
void |
execute()
Entry point for the mojo.
|
static List |
getApp(ServerProfile profile,
String developerId) |
protected String |
getAppName(String payload) |
void |
init() |
static String |
removeApiProductFromApp(ServerProfile profile,
String appPayload) |
static String |
updateApp(ServerProfile profile,
String developerId,
String appName,
String app) |
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 doUpdate(Map<String,List<String>> devApps) 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 createApp(ServerProfile profile, String developerId, String app) throws IOException
IOExceptionpublic static String updateApp(ServerProfile profile, String developerId, String appName, String app) throws IOException
IOExceptionpublic static String deleteApp(ServerProfile profile, String developerId, String appName) throws IOException
IOExceptionpublic static List getApp(ServerProfile profile, String developerId) throws IOException
IOExceptionpublic static String removeApiProductFromApp(ServerProfile profile, String appPayload)
public static boolean doesDeveloperAppExist(ServerProfile profile, String developerEmail, String appName) throws IOException
IOExceptionCopyright © 2022. All rights reserved.