public class ReferencesMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
ReferencesMojo.Reference |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
ReferencesMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createReference(ServerProfile profile,
String reference)
REST call wrappers
|
static String |
deleteReference(ServerProfile profile,
String refName) |
protected void |
doUpdate(List<String> refs) |
void |
execute()
Entry point for the mojo.
|
protected String |
getReferenceName(String payload) |
static List |
getReferences(ServerProfile profile) |
void |
init() |
static String |
updateReference(ServerProfile profile,
String refName,
String reference) |
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 getReferenceName(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doUpdate(List<String> refs) 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 createReference(ServerProfile profile, String reference) throws IOException
IOExceptionpublic static String updateReference(ServerProfile profile, String refName, String reference) throws IOException
IOExceptionpublic static String deleteReference(ServerProfile profile, String refName) throws IOException
IOExceptionpublic static List getReferences(ServerProfile profile) throws IOException
IOExceptionCopyright © 2022. All rights reserved.