public class KVMMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
KVMMojo.KVM |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
KVMMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createAPIKVM(ServerProfile profile,
String api,
String kvmName) |
static String |
createEnvKVM(ServerProfile profile,
String kvmName) |
static String |
createOrgKVM(ServerProfile profile,
String kvmName)
REST call wrappers
|
static String |
deleteAPIKVM(ServerProfile profile,
String api,
String kvmEntry) |
static String |
deleteEnvKVM(ServerProfile profile,
String kvmEntry) |
static String |
deleteOrgKVM(ServerProfile profile,
String kvmEntry) |
protected void |
doAPIUpdate(String api,
List<String> kvms) |
protected void |
doEnvUpdate(List<String> kvms,
String scope) |
protected void |
doOrgUpdate(List<String> kvms,
String scope) |
void |
execute()
Entry point for the mojo.
|
static List |
getAPIKVM(ServerProfile profile,
String api) |
static List |
getEnvKVM(ServerProfile profile) |
protected String |
getKVMName(String payload) |
static List |
getOrgKVM(ServerProfile profile) |
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 getKVMName(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doOrgUpdate(List<String> kvms, String scope) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doEnvUpdate(List<String> kvms, String scope) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doAPIUpdate(String api, List<String> kvms) 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 createOrgKVM(ServerProfile profile, String kvmName) throws IOException
IOExceptionpublic static String deleteOrgKVM(ServerProfile profile, String kvmEntry) throws IOException
IOExceptionpublic static List getOrgKVM(ServerProfile profile) throws IOException
IOExceptionpublic static String createEnvKVM(ServerProfile profile, String kvmName) throws IOException
IOExceptionpublic static String deleteEnvKVM(ServerProfile profile, String kvmEntry) throws IOException
IOExceptionpublic static List getEnvKVM(ServerProfile profile) throws IOException
IOExceptionpublic static String createAPIKVM(ServerProfile profile, String api, String kvmName) throws IOException
IOExceptionpublic static String deleteAPIKVM(ServerProfile profile, String api, String kvmEntry) throws IOException
IOExceptionpublic static List getAPIKVM(ServerProfile profile, String api) throws IOException
IOExceptionCopyright © 2022. All rights reserved.