public class APIProductMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
APIProductMojo.APIProduct |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
APIProductMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createAPIProduct(ServerProfile profile,
String product)
REST call wrappers
|
static String |
deleteAPIProduct(ServerProfile profile,
String productName) |
static boolean |
doesAPIProductExist(ServerProfile profile,
String apiProduct) |
protected void |
doUpdate(List<String> products) |
void |
execute()
Entry point for the mojo.
|
static List |
getAPIProduct(ServerProfile profile) |
protected String |
getAPIProductName(String payload) |
void |
init() |
static String |
updateAPIProduct(ServerProfile profile,
String productName,
String product) |
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 getAPIProductName(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doUpdate(List<String> products) 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 createAPIProduct(ServerProfile profile, String product) throws IOException
IOExceptionpublic static String updateAPIProduct(ServerProfile profile, String productName, String product) throws IOException
IOExceptionpublic static String deleteAPIProduct(ServerProfile profile, String productName) throws IOException
IOExceptionpublic static List getAPIProduct(ServerProfile profile) throws IOException
IOExceptionpublic static boolean doesAPIProductExist(ServerProfile profile, String apiProduct) throws IOException
IOExceptionCopyright © 2022. All rights reserved.