public class ResourceFileMojo extends GatewayAbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceFileMojo.ResourceFile |
| Modifier and Type | Field and Description |
|---|---|
static String |
____ATTENTION_MARKER____ |
buildProfile, container, project, session, settings, settingsDecrypter, URL_PARSE_REGEX| Constructor and Description |
|---|
ResourceFileMojo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createEnvResourceFile(ServerProfile profile,
String resourcefileType,
String resourcefileName,
String resourceFilePath)
REST call wrappers
|
static String |
deleteEnvResourceFile(ServerProfile profile,
String resourcefileType,
String resourcefileName) |
protected void |
doEnvUpdate(List<String> resourcefiles) |
void |
execute()
Entry point for the mojo.
|
static List |
getExistingResourceFile(ServerProfile profile) |
protected ResourceFileMojo.ResourceFile |
getResourceFile(String payload) |
void |
init() |
static String |
updateEnvResourceFile(ServerProfile profile,
String resourcefileType,
String resourcefileName,
String resourcefilePath) |
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 ResourceFileMojo.ResourceFile getResourceFile(String payload) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected void doEnvUpdate(List<String> resourcefiles) 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 createEnvResourceFile(ServerProfile profile, String resourcefileType, String resourcefileName, String resourceFilePath) throws IOException
IOExceptionpublic static String updateEnvResourceFile(ServerProfile profile, String resourcefileType, String resourcefileName, String resourcefilePath) throws IOException
IOExceptionpublic static String deleteEnvResourceFile(ServerProfile profile, String resourcefileType, String resourcefileName) throws IOException
IOExceptionpublic static List getExistingResourceFile(ServerProfile profile) throws IOException
IOExceptionCopyright © 2022. All rights reserved.