public class TargetServerMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
TargetServerMojo.TargetServer |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
TargetServerMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createTarget(ServerProfile profile,
String target)
REST call wrappers
|
static String |
deleteTarget(ServerProfile profile,
String targetName) |
protected void |
doUpdate(List<String> targets) |
void |
execute()
Entry point for the mojo.
|
static List |
getTarget(ServerProfile profile) |
protected String |
getTargetName(String payload) |
void |
init() |
static String |
updateTarget(ServerProfile profile,
String targetName,
String target) |
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 getTargetName(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doUpdate(List<String> targets) 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 createTarget(ServerProfile profile, String target) throws IOException
IOExceptionpublic static String updateTarget(ServerProfile profile, String targetName, String target) throws IOException
IOExceptionpublic static String deleteTarget(ServerProfile profile, String targetName) throws IOException
IOExceptionpublic static List getTarget(ServerProfile profile) throws IOException
IOExceptionCopyright © 2022. All rights reserved.