public class ReportsMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
ReportsMojo.Report |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
ReportsMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createReport(ServerProfile profile,
String report)
REST call wrappers
|
static String |
deleteReport(ServerProfile profile,
String reportName) |
protected void |
doUpdate(List<String> reports) |
void |
execute()
Entry point for the mojo.
|
static String |
getKeyByValue(Map<String,String> map,
String value) |
protected String |
getReportDisplayName(String payload) |
static Map<String,String> |
getReportMap(ServerProfile profile) |
void |
init() |
static String |
updateReport(ServerProfile profile,
String reportName,
String report) |
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 getReportDisplayName(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doUpdate(List<String> reports) 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 createReport(ServerProfile profile, String report) throws IOException
IOExceptionpublic static String updateReport(ServerProfile profile, String reportName, String report) throws IOException
IOExceptionpublic static String deleteReport(ServerProfile profile, String reportName) throws IOException
IOExceptionpublic static Map<String,String> getReportMap(ServerProfile profile) throws IOException
IOExceptionCopyright © 2022. All rights reserved.